Kill me now.

Fixes issue 6227.
This commit is contained in:
Rachel Bryk 2013-04-08 03:05:12 -04:00
parent 3ed0a96367
commit 48f3e962d6
1 changed files with 2 additions and 2 deletions

View File

@ -137,9 +137,9 @@ void VideoConfig::GameIniLoad(const char *ini_file)
iniFile.GetIfExists("Video_Settings", "EnablePixelLighting", &bEnablePixelLighting); iniFile.GetIfExists("Video_Settings", "EnablePixelLighting", &bEnablePixelLighting);
iniFile.GetIfExists("Video_Settings", "HackedBufferUpload", &bHackedBufferUpload); iniFile.GetIfExists("Video_Settings", "HackedBufferUpload", &bHackedBufferUpload);
iniFile.GetIfExists("Video_Settings", "MSAA", &iMultisampleMode); iniFile.GetIfExists("Video_Settings", "MSAA", &iMultisampleMode);
int tmp = 0; int tmp = -9000;
iniFile.GetIfExists("Video_Settings", "EFBScale", &tmp); // integral iniFile.GetIfExists("Video_Settings", "EFBScale", &tmp); // integral
if (tmp != SCALE_FORCE_INTEGRAL) if (tmp != -9000 && tmp != SCALE_FORCE_INTEGRAL)
iEFBScale = tmp; iEFBScale = tmp;
// Round down to multiple of native IR // Round down to multiple of native IR
else else