summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2012-05-29 13:11:28 +0200
committerNeoBrainX <NeoBrainX@gmail.com>2012-05-29 13:11:28 +0200
commit372e00632dbe7e02ef67fdf3daa7ebfb3d607edb (patch)
treedac744ae1ce8d6ba5277fbd5d97049044553c7fb
parentbfde41895f52402874359e70c495ca79c8c501c6 (diff)
Fix changing internal resolution via hotkeys (settings above 1.5x weren't accessible anymore before).
-rw-r--r--Source/Core/VideoCommon/Src/EmuWindow.cpp2
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/EmuWindow.cpp b/Source/Core/VideoCommon/Src/EmuWindow.cpp
index 30dca24cb1..d91b1578bf 100644
--- a/Source/Core/VideoCommon/Src/EmuWindow.cpp
+++ b/Source/Core/VideoCommon/Src/EmuWindow.cpp
@@ -251,7 +251,7 @@ void OSDMenu(WPARAM wParam)
OSDChoice = 1;
// Toggle native resolution
g_Config.iEFBScale = g_Config.iEFBScale + 1;
- if (g_Config.iEFBScale > 4) g_Config.iEFBScale = 0;
+ if (g_Config.iEFBScale > 7) g_Config.iEFBScale = 0;
break;
case '4':
OSDChoice = 2;
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp
index cbdb702885..25f606f50d 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp
@@ -174,7 +174,7 @@ void XEventThread()
OSDChoice = 1;
// Toggle native resolution
g_Config.iEFBScale = g_Config.iEFBScale + 1;
- if (g_Config.iEFBScale > 4) g_Config.iEFBScale = 0;
+ if (g_Config.iEFBScale > 7) g_Config.iEFBScale = 0;
break;
case XK_4:
OSDChoice = 2;