Win32 - Ramwatch - autoload now auto-loads the watch file. However, only when opening the dialog manually, not when desmume main does.
This commit is contained in:
parent
1f6b5a2f6d
commit
2915400b9b
|
@ -2611,8 +2611,6 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
WritePrivateProfileString("Watches", str, &rw_recent_files[i][0], IniName);
|
||||
}
|
||||
|
||||
|
||||
//TODO: save Auto-load bool value
|
||||
ExitRunLoop();
|
||||
}
|
||||
else
|
||||
|
|
|
@ -941,6 +941,8 @@ LRESULT CALLBACK RamWatchProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
// due to some bug in windows, the arrow button width from the resource gets ignored, so we have to set it here
|
||||
SetWindowPos(GetDlgItem(hDlg,ID_WATCHES_UPDOWN), 0,0,0, 30,60, SWP_NOMOVE);
|
||||
|
||||
if (AutoRWLoad) OpenRWRecentFile(0);
|
||||
|
||||
Update_RAM_Watch();
|
||||
|
||||
DragAcceptFiles(hDlg, TRUE);
|
||||
|
|
Loading…
Reference in New Issue