aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-02-28 16:05:06 +0100
committercrueter <crueter@eden-emu.dev>2026-02-28 16:05:06 +0100
commit7de5eb6884bd3c4b4f8912406e30dc26497e9fbc (patch)
treea9d23077f0535702772878d25e6e21e5248467e9 /shell.nix
parentac181b756f7c8e4abf67412cc2c61ba61f5e5301 (diff)
[android] fix persist manual game pause after android sleep/wake (#3651)
if user invokes the "pause game" option from the menu while in game, as expected this suspends the process till user manually hits resume.. except for one case: Android sleep/wake lifecycle. If user manually pauses a running game, then sleeps their device, then wakes their device; the game will self-resume without user pressing "resume game". Expected behavior IMO is that if user left the game process in manually paused state, app should respect this and persist the pause on system wake, so that user may manually press "resume game" to unfreeze the process. Simple fix is to have a few params for user initiated pause and resume, and update the pause and run methods to handle as described above. Please let me know if there is a cleaner way to implement! Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3651 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: DraVee <dravee@eden-emu.dev> Co-authored-by: xXJSONDeruloXx <danielhimebauch@gmail.com> Co-committed-by: xXJSONDeruloXx <danielhimebauch@gmail.com>
Diffstat (limited to 'shell.nix')
0 files changed, 0 insertions, 0 deletions