win32: fixed: [2773492] When turning "Limit framerate" on or off the screen separation resets to none.
This commit is contained in:
parent
823b57c6db
commit
7180336b20
|
@ -3059,11 +3059,10 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||||
CheckLanguage(LOWORD(wParam));
|
CheckLanguage(LOWORD(wParam));
|
||||||
return 0;
|
return 0;
|
||||||
case IDC_FRAMELIMIT:
|
case IDC_FRAMELIMIT:
|
||||||
{
|
|
||||||
FrameLimit ^= 1;
|
FrameLimit ^= 1;
|
||||||
MainWindow->checkMenu(IDC_FRAMELIMIT, FrameLimit ? MF_CHECKED : MF_UNCHECKED);
|
MainWindow->checkMenu(IDC_FRAMELIMIT, FrameLimit ? MF_CHECKED : MF_UNCHECKED);
|
||||||
WritePrivateProfileInt("FrameLimit", "FrameLimit", FrameLimit, IniName);
|
WritePrivateProfileInt("FrameLimit", "FrameLimit", FrameLimit, IniName);
|
||||||
}
|
return 0;
|
||||||
case IDM_SCREENSEP_NONE:
|
case IDM_SCREENSEP_NONE:
|
||||||
{
|
{
|
||||||
SetScreenGap(0);
|
SetScreenGap(0);
|
||||||
|
|
Loading…
Reference in New Issue