aboutsummaryrefslogtreecommitdiff
path: root/funkey/fk_instant_play.c
AgeCommit message (Collapse)Author
2024-04-28Adds RTC read and writeHEADmainneonloop
2023-02-02Fixes savestate screenshot and advanced menu backgroundneonloop
2023-02-01Adds warning message when Instant Play is unsupportedneonloop
Instant Play needs savestates and savestate resume on startup, and not all cores support those. Better to warn than surprise by not resuming.
2023-01-29Adds dosbox-pure coreneonloop
dosbox-pure does not support resume states, because it loads puremenu before loading game. Savestates can also glitch loaded game.
2023-01-25Fixes load new contentneonloop
Cores do not always clean up on unload content, deinit and reinit is more reliable. Some cores do not even clean up on deinit and reinit, need all statics reinitialized. On many platforms dlclose / dlopen will work. FunKey uses musl libc where dlclose is no-op, so instead will exec again with current core and new content path. Overrides decide whether easy or hard clean up is needed. Assume unknown cores need hard cleanup, otherwise specified by "needs_reopen" override. Also - FunKey will now autosave and resume during load new content - Load new content deferred until after menu responds to keypress, otherwise key release can be missed and menu seems stuck
2023-01-15Fixes occasional instant play failuresneonloop
When resuming instant play, FunKey S saves path of executable after launching executable in background. If this happens fast enough, process will still be /bin/busybox, not /opt/picoarch, saving wrong path, failing next launch. To workaround, should save path again before suspending.
2023-01-09Waits to suspend until after game loopneonloop
Suspending during loop caused corrupt states
2023-01-09Adds initial Funkey S supportneonloop