Added config option for xBR texture scaling

This commit is contained in:
Peter Thoman committed 2013-04-30 03:46:27 +02:00
1 parent 392087f26b
commit 04d0a61968
2 files changed
+5 -1

No files matched your search

+3
View File
@@ -113,6 +113,8 @@ void Config::Load(const char *iniFileName)
#else
graphics->Get("MipMap", &bMipMap, false);
#endif
graphics->Get("XBRZTexScalingLevel", &iXBRZTexScalingLevel, 0);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Get("Enable", &bEnableSound, true);
@@ -192,6 +194,7 @@ void Config::Save()
graphics->Set("StretchToDisplay", bStretchToDisplay);
graphics->Set("TrueColor", bTrueColor);
graphics->Set("MipMap", bMipMap);
graphics->Set("XBRZTexScalingLevel", iXBRZTexScalingLevel);
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
sound->Set("Enable", bEnableSound);