System: Fix crash when disabling runahead
This commit is contained in:
parent
1754ecf4f9
commit
88381209b3
|
@ -4732,6 +4732,9 @@ void System::UpdateMemorySaveStateSettings()
|
||||||
s_runahead_replay_pending = false;
|
s_runahead_replay_pending = false;
|
||||||
if (s_runahead_frames > 0)
|
if (s_runahead_frames > 0)
|
||||||
INFO_LOG("Runahead is active with {} frames", s_runahead_frames);
|
INFO_LOG("Runahead is active with {} frames", s_runahead_frames);
|
||||||
|
|
||||||
|
// reenter execution loop, don't want to try to save a state now if runahead was turned off
|
||||||
|
InterruptExecution();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool System::LoadMemoryState(const MemorySaveState& mss)
|
bool System::LoadMemoryState(const MemorySaveState& mss)
|
||||||
|
|
Loading…
Reference in New Issue