Wait for the runloop to end in savestates/debug.

This way, even if the runloop hasn't checked coreState yet, we will wait.
This commit is contained in:
Unknown W. Brackets committed 2013-02-23 13:21:28 -08:00
1 parent 2164a7fdf9
commit 7c3c06fd23
5 files changed
+15 -34

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ namespace SaveState
// Don't actually run it until next CoreTiming::Advance().
// It's possible there might be a duplicate but it won't hurt us.
if (Core_IsStepping() && __KernelIsRunning())
if (Core_IsInactive() && __KernelIsRunning())
{
// Warning: this may run on a different thread.
Process(0, 0);