From 7180336b20def648d2e9f66621f1d735aea069ec Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 19 Apr 2009 05:58:32 +0000 Subject: [PATCH] win32: fixed: [2773492] When turning "Limit framerate" on or off the screen separation resets to none. --- desmume/src/windows/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 98c510587..c2c3706cb 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -3059,11 +3059,10 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM CheckLanguage(LOWORD(wParam)); return 0; case IDC_FRAMELIMIT: - { FrameLimit ^= 1; MainWindow->checkMenu(IDC_FRAMELIMIT, FrameLimit ? MF_CHECKED : MF_UNCHECKED); WritePrivateProfileInt("FrameLimit", "FrameLimit", FrameLimit, IniName); - } + return 0; case IDM_SCREENSEP_NONE: { SetScreenGap(0);