mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-19 07:04:45 +00:00
Added config option for xBR texture scaling
This commit is contained in:
parent
392087f26b
commit
04d0a61968
@ -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);
|
||||
|
@ -64,13 +64,14 @@ public:
|
||||
int iWindowX;
|
||||
int iWindowY;
|
||||
int iWindowZoom; // for Windows
|
||||
bool SSAntiAliasing; //for Windows, too
|
||||
bool SSAntiAliasing; // for Windows, too
|
||||
bool bVertexCache;
|
||||
bool bFullScreen;
|
||||
int iAnisotropyLevel;
|
||||
bool bTrueColor;
|
||||
bool bMipMap;
|
||||
bool bAnisotropicFiltering;
|
||||
int iXBRZTexScalingLevel; // 0 = 1 = off, 2 = 2xBRZ, 3 = 3xBRZ, ..., 5 = 5xBRZ
|
||||
|
||||
// Sound
|
||||
bool bEnableSound;
|
||||
|
Loading…
x
Reference in New Issue
Block a user