Age | Commit message (Collapse) | Author |
|
|
|
|
|
Instant Play needs savestates and savestate resume on startup, and not
all cores support those. Better to warn than surprise by not resuming.
|
|
dosbox-pure does not support resume states, because it loads puremenu
before loading game. Savestates can also glitch loaded game.
|
|
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
|
|
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.
|
|
Suspending during loop caused corrupt states
|
|
|