aboutsummaryrefslogtreecommitdiff
path: root/funkey/fk_instant_play.h
AgeCommit message (Collapse)Author
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-09Waits to suspend until after game loopneonloop
Suspending during loop caused corrupt states
2023-01-09Adds initial Funkey S supportneonloop