Indentation fix for CtrlMemView.cpp

This commit is contained in:
pal1000 2013-11-20 17:43:26 +02:00
parent a151abf115
commit 8fa99749c9

View file

@ -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];