mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Indentation fix for CtrlMemView.cpp
This commit is contained in:
parent
a151abf115
commit
8fa99749c9
1 changed files with 11 additions and 13 deletions
|
@ -434,22 +434,20 @@ void CtrlMemView::onMouseUp(WPARAM wParam, LPARAM lParam, int button)
|
|||
switch (TrackPopupMenuEx(menu,TPM_RIGHTBUTTON|TPM_RETURNCMD,pt.x,pt.y,wnd,0))
|
||||
{
|
||||
case ID_MEMVIEW_DUMP:
|
||||
|
||||
if (!Core_IsStepping()) // If emulator isn't paused
|
||||
{
|
||||
Core_EnableStepping(true); //force paused state
|
||||
DumpMemoryWindow dump(wnd,debugger);
|
||||
DumpMemoryWindow dump(wnd,debugger);
|
||||
bool priorDumpWasStepping=Core_IsStepping();
|
||||
if (!priorDumpWasStepping) // If emulator isn't paused
|
||||
{
|
||||
Core_EnableStepping(true); //force paused state
|
||||
}
|
||||
dump.exec();
|
||||
Core_EnableStepping(false); //Resume emulation automatically
|
||||
if (!priorDumpWasStepping) // If emulator wasn't paused before dumping
|
||||
{
|
||||
Core_EnableStepping(false); //Resume emulation automatically
|
||||
}
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
DumpMemoryWindow dump(wnd,debugger);
|
||||
dump.exec();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case ID_MEMVIEW_COPYVALUE_8:
|
||||
{
|
||||
char temp[24];
|
||||
|
|
Loading…
Add table
Reference in a new issue