Finished up Pause at movie check when user changes number feature. Minor code clean up on memwatch (very minor)

This commit is contained in:
adelikat 2008-06-30 00:51:51 +00:00
parent ebfe4e2a1c
commit 3ee98ad6ef
2 changed files with 3 additions and 3 deletions

View File

@ -589,7 +589,6 @@ void CloseMemoryWatch()
{
SaveStrings();
//TODO: save window x,y and last file opened to some variables then save them to config when fceu closes
if (fileChanged==true)
{
if(MessageBox(hwndMemWatch, "Save Changes?", "Memory Watch Settings", MB_YESNO)==IDYES)
@ -825,7 +824,7 @@ void CreateMemWatch()
}
//Create
hwndMemWatch=CreateDialog(fceu_hInstance,"MEMWATCH",NULL,MemWatchCallB);
hwndMemWatch=CreateDialog(fceu_hInstance,"MEMWATCH",NULL,MemWatchCallB);
memwmenu=GetMenu(hwndMemWatch);
UpdateMemWatch();
memwrecentmenu = CreateMenu();

View File

@ -215,7 +215,7 @@ void UpdateReplayDialog(HWND hwndDlg)
SetWindowText(GetDlgItem(hwndDlg,IDC_LABEL_RECORDEDFROM),"");
SetWindowText(GetDlgItem(hwndDlg,IDC_LABEL_EMULATORUSED),"");
SetWindowText(GetDlgItem(hwndDlg,IDC_LABEL_CURRCHECKSUM),md5_asciistr(GameInfo->MD5));
SetDlgItemText(hwndDlg,IDC_EDIT_STOPFRAME,"");
SetDlgItemText(hwndDlg,IDC_EDIT_STOPFRAME,""); stopframeWasEditedByUser=false;
EnableWindow(GetDlgItem(hwndDlg,IDC_CHECK_READONLY),FALSE);
SendDlgItemMessage(hwndDlg,IDC_CHECK_READONLY,BM_SETCHECK,BST_UNCHECKED,0);
EnableWindow(GetDlgItem(hwndDlg,IDOK),FALSE);
@ -476,6 +476,7 @@ BOOL CALLBACK ReplayDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lP
{
HWND hwnd1 = GetDlgItem(hwndDlg,IDC_CHECK_STOPMOVIE);
Button_SetCheck(hwnd1,BST_CHECKED);
stopframeWasEditedByUser = true;
}
else
stopframeWasEditedByUser = true;