From deece78e19aa59151bc608aabb1cdcb00f734475 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Mon, 8 Apr 2013 03:11:45 -0400 Subject: [PATCH] Seriously, someone kill me. --- Source/Core/VideoCommon/Src/VideoConfig.cpp | 35 +++++++++++---------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 4b36338c89..ad040b9e24 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -139,24 +139,27 @@ void VideoConfig::GameIniLoad(const char *ini_file) iniFile.GetIfExists("Video_Settings", "MSAA", &iMultisampleMode); int tmp = -9000; iniFile.GetIfExists("Video_Settings", "EFBScale", &tmp); // integral - if (tmp != -9000 && tmp != SCALE_FORCE_INTEGRAL) - iEFBScale = tmp; - // Round down to multiple of native IR - else + if (tmp != -9000) { - switch (iEFBScale) + if (tmp != SCALE_FORCE_INTEGRAL) + iEFBScale = tmp; + // Round down to multiple of native IR + else { - case SCALE_AUTO: - iEFBScale = SCALE_AUTO_INTEGRAL; - break; - case SCALE_1_5X: - iEFBScale = SCALE_1X; - break; - case SCALE_2_5X: - iEFBScale = SCALE_2X; - break; - default: - break; + switch (iEFBScale) + { + case SCALE_AUTO: + iEFBScale = SCALE_AUTO_INTEGRAL; + break; + case SCALE_1_5X: + iEFBScale = SCALE_1X; + break; + case SCALE_2_5X: + iEFBScale = SCALE_2X; + break; + default: + break; + } } }