From 2f52872eb316174bf56b85ddd8e26e02f489715d Mon Sep 17 00:00:00 2001 From: pal1000 Date: Thu, 21 Nov 2013 15:10:20 +0200 Subject: [PATCH] Performed cleanup in CtrlMemView.cpp --- Windows/Debugger/CtrlMemView.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Windows/Debugger/CtrlMemView.cpp b/Windows/Debugger/CtrlMemView.cpp index 25f623d7cd..2245bba009 100644 --- a/Windows/Debugger/CtrlMemView.cpp +++ b/Windows/Debugger/CtrlMemView.cpp @@ -436,16 +436,7 @@ void CtrlMemView::onMouseUp(WPARAM wParam, LPARAM lParam, int button) case ID_MEMVIEW_DUMP: { DumpMemoryWindow dump(wnd, debugger); - bool priorDumpWasStepping = Core_IsStepping(); - if (!priorDumpWasStepping) // If emulator isn't paused - { - Core_EnableStepping(true); //force paused state - } dump.exec(); - if (!priorDumpWasStepping) // If emulator wasn't paused before dumping - { - Core_EnableStepping(false); //Resume emulation automatically - } break; }