Update Debugger-MemoryDump.cpp

Fix title case, add newline
This commit is contained in:
Derek "Turtle" Roe 2021-03-17 22:31:54 -05:00
parent c0bd0dba2e
commit e92a29493e
1 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ LRESULT CDumpMemory::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl
GetDlgItemText(IDC_FILENAME, FileName, sizeof(FileName));
if (wcslen(FileName) == 0)
{
g_Notify->DisplayWarning("Please Choose target file");
g_Notify->DisplayWarning("Please choose target file");
::SetFocus(GetDlgItem(IDC_FILENAME));
return false;
}
@ -110,7 +110,7 @@ LRESULT CDumpMemory::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl
{
DumpPC = StartPC;
}
//disable buttons
// Disable buttons
::EnableWindow(GetDlgItem(IDC_E_START_ADDR), FALSE);
::EnableWindow(GetDlgItem(IDC_E_END_ADDR), 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);
if (!DumpMemory(FileName, Format, StartPC, EndPC, DumpPC))
{
//enable buttons
// Enable buttons
g_BaseSystem->ExternalEvent(SysEvent_ResumeCPU_DumpMemory);
return false;
}