Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Seriously, someone kill me.
  • Loading branch information
RachelBryk committed Apr 8, 2013
1 parent 48f3e96 commit deece78
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions Source/Core/VideoCommon/Src/VideoConfig.cpp
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit deece78

Please sign in to comment.