Skip to content

Commit

Permalink
enhancement: initialize Savestates on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Nov 30, 2023
1 parent d57accb commit 985bd20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,9 @@ static int real_main2 (int argc, TCHAR **argv)
/* force sound settings change */
currprefs.produce_sound = 0;

//savestate_init ();
#ifdef SAVESTATE
savestate_init ();
#endif
keybuf_init (); /* Must come after init_joystick */

memory_hardreset (2);
Expand Down

0 comments on commit 985bd20

Please sign in to comment.