mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Performed cleanup in CtrlMemView.cpp
This commit is contained in:
parent
61cf802836
commit
2f52872eb3
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue