From c790b49221496ca1884d97ed84537561a814e8f0 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Tue, 15 Sep 2009 09:49:15 +0000 Subject: [PATCH] more fixes for the size. --- src/win32/MainWnd.cpp | 2 +- src/win32/MainWnd.h | 2 ++ src/win32/resource.h | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/win32/MainWnd.cpp b/src/win32/MainWnd.cpp index d269fa27..43dc8f4a 100644 --- a/src/win32/MainWnd.cpp +++ b/src/win32/MainWnd.cpp @@ -338,7 +338,7 @@ BEGIN_MESSAGE_MAP(MainWnd, CWnd) ON_UPDATE_COMMAND_UI_RANGE(ID_FILE_SAVEGAME_SLOT1, ID_FILE_SAVEGAME_SLOT10, OnUpdateFileSaveGameSlot) ON_COMMAND_EX_RANGE(ID_OPTIONS_VIDEO_FRAMESKIP_0, ID_OPTIONS_VIDEO_FRAMESKIP_5, OnOptionsFrameskip) ON_COMMAND_EX_RANGE(ID_OPTIONS_VIDEO_FRAMESKIP_6, ID_OPTIONS_VIDEO_FRAMESKIP_9, OnOptionsFrameskip) - ON_COMMAND_EX_RANGE(ID_OPTIONS_VIDEO_X1, ID_OPTIONS_VIDEO_X4, OnOptionVideoSize) + ON_COMMAND_EX_RANGE(ID_OPTIONS_VIDEO_X1, ID_OPTIONS_VIDEO_X6, OnOptionVideoSize) ON_COMMAND_EX_RANGE(ID_OPTIONS_VIDEO_LAYERS_BG0, ID_OPTIONS_VIDEO_LAYERS_OBJWIN, OnVideoLayer) ON_UPDATE_COMMAND_UI_RANGE(ID_OPTIONS_VIDEO_LAYERS_BG0, ID_OPTIONS_VIDEO_LAYERS_OBJWIN, OnUpdateVideoLayer) ON_COMMAND(ID_OPTIONS_VIDEO_LAYERS_RESET, OnVideoLayerReset) diff --git a/src/win32/MainWnd.h b/src/win32/MainWnd.h index 42f1894d..64c1b504 100644 --- a/src/win32/MainWnd.h +++ b/src/win32/MainWnd.h @@ -130,6 +130,8 @@ protected: afx_msg void OnUpdateOptionsVideoX2(CCmdUI* pCmdUI); afx_msg void OnUpdateOptionsVideoX3(CCmdUI* pCmdUI); afx_msg void OnUpdateOptionsVideoX4(CCmdUI* pCmdUI); + afx_msg void OnUpdateOptionsVideoX5(CCmdUI* pCmdUI); + afx_msg void OnUpdateOptionsVideoX6(CCmdUI* pCmdUI); afx_msg void OnOptionsVideoFullscreen(); afx_msg void OnUpdateOptionsVideoFullscreen(CCmdUI* pCmdUI); afx_msg void OnMove(int x, int y); diff --git a/src/win32/resource.h b/src/win32/resource.h index 097d5430..39905ad9 100644 --- a/src/win32/resource.h +++ b/src/win32/resource.h @@ -585,10 +585,10 @@ #define ID_OPTIONS_VIDEO_X2 40011 #define ID_OPTIONS_VIDEO_X3 40012 #define ID_OPTIONS_VIDEO_X4 40013 -#define ID_OPTIONS_VIDEO_X5 40373 -#define ID_OPTIONS_VIDEO_X6 40374 -#define ID_FILE_PAUSE 40014 -#define ID_OPTIONS_EMULATOR_DIRECTORIES 40015 +#define ID_OPTIONS_VIDEO_X5 40014 +#define ID_OPTIONS_VIDEO_X6 40015 +#define ID_FILE_PAUSE 40373 +#define ID_OPTIONS_EMULATOR_DIRECTORIES 40374 #define ID_OPTIONS_JOYPAD 40016 #define ID_OPTIONS_EMULATOR_SYNCHRONIZE 40017 #define ID_FILE_RESET 40018