If the emulator is paused when selecting Emulation -> Stop, then resume so the core can shutdown as requested.

This'll make Stop more like Reset, which resets regardless of the pause state.
This commit is contained in:
The Dax committed 2013-12-06 01:30:24 -05:00
1 parent f3a0193777
commit a7e7ba61b3
1 file changed
+3
+3
View File
@@ -1184,6 +1184,9 @@ namespace MainWindow
break;
case ID_EMULATION_STOP:
if (Core_IsStepping())
Core_EnableStepping(false);
Core_Stop();
NativeMessageReceived("stop", "");
Core_WaitInactive();