Update Debugger-MemoryDump.cpp
Fix title case, add newline
This commit is contained in:
parent
c0bd0dba2e
commit
e92a29493e
|
@ -102,7 +102,7 @@ LRESULT CDumpMemory::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl
|
||||||
GetDlgItemText(IDC_FILENAME, FileName, sizeof(FileName));
|
GetDlgItemText(IDC_FILENAME, FileName, sizeof(FileName));
|
||||||
if (wcslen(FileName) == 0)
|
if (wcslen(FileName) == 0)
|
||||||
{
|
{
|
||||||
g_Notify->DisplayWarning("Please Choose target file");
|
g_Notify->DisplayWarning("Please choose target file");
|
||||||
::SetFocus(GetDlgItem(IDC_FILENAME));
|
::SetFocus(GetDlgItem(IDC_FILENAME));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ LRESULT CDumpMemory::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl
|
||||||
{
|
{
|
||||||
DumpPC = StartPC;
|
DumpPC = StartPC;
|
||||||
}
|
}
|
||||||
//disable buttons
|
// Disable buttons
|
||||||
::EnableWindow(GetDlgItem(IDC_E_START_ADDR), FALSE);
|
::EnableWindow(GetDlgItem(IDC_E_START_ADDR), FALSE);
|
||||||
::EnableWindow(GetDlgItem(IDC_E_END_ADDR), FALSE);
|
::EnableWindow(GetDlgItem(IDC_E_END_ADDR), FALSE);
|
||||||
::EnableWindow(GetDlgItem(IDC_E_ALT_PC), FALSE);
|
::EnableWindow(GetDlgItem(IDC_E_ALT_PC), FALSE);
|
||||||
|
@ -123,7 +123,7 @@ LRESULT CDumpMemory::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl
|
||||||
g_BaseSystem->ExternalEvent(SysEvent_PauseCPU_DumpMemory);
|
g_BaseSystem->ExternalEvent(SysEvent_PauseCPU_DumpMemory);
|
||||||
if (!DumpMemory(FileName, Format, StartPC, EndPC, DumpPC))
|
if (!DumpMemory(FileName, Format, StartPC, EndPC, DumpPC))
|
||||||
{
|
{
|
||||||
//enable buttons
|
// Enable buttons
|
||||||
g_BaseSystem->ExternalEvent(SysEvent_ResumeCPU_DumpMemory);
|
g_BaseSystem->ExternalEvent(SysEvent_ResumeCPU_DumpMemory);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue