Seriously, someone kill me.

This commit is contained in:
Rachel Bryk 2013-04-08 03:11:45 -04:00
parent 48f3e962d6
commit deece78e19
1 changed files with 19 additions and 16 deletions

View File

@ -139,24 +139,27 @@ void VideoConfig::GameIniLoad(const char *ini_file)
iniFile.GetIfExists("Video_Settings", "MSAA", &iMultisampleMode); iniFile.GetIfExists("Video_Settings", "MSAA", &iMultisampleMode);
int tmp = -9000; int tmp = -9000;
iniFile.GetIfExists("Video_Settings", "EFBScale", &tmp); // integral iniFile.GetIfExists("Video_Settings", "EFBScale", &tmp); // integral
if (tmp != -9000 && tmp != SCALE_FORCE_INTEGRAL) if (tmp != -9000)
iEFBScale = tmp;
// Round down to multiple of native IR
else
{ {
switch (iEFBScale) if (tmp != SCALE_FORCE_INTEGRAL)
iEFBScale = tmp;
// Round down to multiple of native IR
else
{ {
case SCALE_AUTO: switch (iEFBScale)
iEFBScale = SCALE_AUTO_INTEGRAL; {
break; case SCALE_AUTO:
case SCALE_1_5X: iEFBScale = SCALE_AUTO_INTEGRAL;
iEFBScale = SCALE_1X; break;
break; case SCALE_1_5X:
case SCALE_2_5X: iEFBScale = SCALE_1X;
iEFBScale = SCALE_2X; break;
break; case SCALE_2_5X:
default: iEFBScale = SCALE_2X;
break; break;
default:
break;
}
} }
} }