mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Add ugly hack setting for PowerVR to disable alpha test
Causes glitches but the speedup is truly massive in some games so I relent :/ Please do not report graphics bugs when this is enabled... Future: Maybe remove this setting except on PowerVR?
This commit is contained in:
1 parent
7d8aed096a
commit
bf59f3db73
7 files changed
+19
-4
No files matched your search
@@ -278,6 +278,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
|
||||
|
||||
IniFile::Section *speedhacks = iniFile.GetOrCreateSection("SpeedHacks");
|
||||
speedhacks->Get("PrescaleUV", &bPrescaleUV, false);
|
||||
speedhacks->Get("DisableAlphaTest", &bDisableAlphaTest, false);
|
||||
|
||||
INFO_LOG(LOADER, "Loading controller config: %s", controllerIniFilename_.c_str());
|
||||
bSaveSettings = true;
|
||||
@@ -467,6 +468,7 @@ void Config::Save() {
|
||||
|
||||
IniFile::Section *speedhacks = iniFile.GetOrCreateSection("SpeedHacks");
|
||||
speedhacks->Set("PrescaleUV", bPrescaleUV);
|
||||
speedhacks->Set("DisableAlphaTest", bDisableAlphaTest);
|
||||
|
||||
if (!iniFile.Save(iniFilename_.c_str())) {
|
||||
ERROR_LOG(LOADER, "Error saving config - can't write ini %s", iniFilename_.c_str());
|
||||
|
||||
Reference in new issue
Block a user