mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-14 04:28:36 +00:00
Try and fail stateman init to clear buffer if newly disabled.
This commit is contained in:
parent
e018acf285
commit
5578fe77d7
@ -222,10 +222,9 @@ S9xOpenROM (const char *rom_filename)
|
||||
|
||||
CPU.Flags = flags;
|
||||
|
||||
if (gui_config->rewind_buffer_size)
|
||||
if (stateMan.init (gui_config->rewind_buffer_size * 1024 * 1024))
|
||||
{
|
||||
printf ("Using rewind buffer of %uMB\n", gui_config->rewind_buffer_size);
|
||||
stateMan.init (gui_config->rewind_buffer_size * 1024 * 1024);
|
||||
}
|
||||
|
||||
S9xROMLoaded ();
|
||||
|
Loading…
Reference in New Issue
Block a user