Merge pull request #146 from sunlollyking/libretro-fpu-before-first-frame

libretro: set up the FPU before the first frame
This commit is contained in:
Craig authored and GitHub committed 2026-11-06 15:32:42 +00:00
commit 819c2f7fb2
1 file changed
+5
+5
View File
@@ -479,6 +479,11 @@ RETRO_API bool retro_load_game(const struct retro_game_info *game)
Retro_SetInputDescriptors();
/* The CPU, and with it the FPU emulation that save_fpu() and
* restore_fpu() call into, is only reset by the first m68k_go() in
* retro_run(), but a frontend may save or load a state before that. */
fpu_reset();
game_loaded = true;
return true;