Finished up Pause at movie check when user changes number feature. Minor code clean up on memwatch (very minor)
This commit is contained in:
parent
ebfe4e2a1c
commit
3ee98ad6ef
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue