From a7e7ba61b3692f4e498339f14755c6959a2d7ba8 Mon Sep 17 00:00:00 2001 From: The Dax Date: Fri, 6 Dec 2013 01:30:24 -0500 Subject: [PATCH] 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. --- Windows/WndMainWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Windows/WndMainWindow.cpp b/Windows/WndMainWindow.cpp index 47fbf221ac..de72a29c9b 100644 --- a/Windows/WndMainWindow.cpp +++ b/Windows/WndMainWindow.cpp @@ -1184,6 +1184,9 @@ namespace MainWindow break; case ID_EMULATION_STOP: + if (Core_IsStepping()) + Core_EnableStepping(false); + Core_Stop(); NativeMessageReceived("stop", ""); Core_WaitInactive();