mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Performed cleanup in CtrlMemView.cpp
This commit is contained in:
1 parent
61cf802836
commit
2f52872eb3
1 file changed
-9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user