Add's a little hack to try and reduce flicking in some games.

Can also break some games or cause them to have flickering so I made it so it can be turned on and off :P
Original fix by orbb then modified by LuisR14 and me.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3274 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid
2009-05-23 02:47:11 +00:00
parent 8ee7cfa6c6
commit d6b86232e0
5 changed files with 48 additions and 6 deletions

View File

@ -81,6 +81,7 @@ void Config::Load()
iniFile.Get("Hacks", "EFBCopyDisable", &bEFBCopyDisable, 0);
iniFile.Get("Hacks", "EFBCopyDisableHotKey", &bEFBCopyDisableHotKey, 0);
iniFile.Get("Hacks", "EFBToTextureEnable", &bCopyEFBToRAM, 0);
iniFile.Get("Hacks", "RemoveFlicker", &bRemoveFlicker, 0);
}
void Config::GameIniLoad() {
@ -117,7 +118,6 @@ void Config::GameIniLoad() {
if (iniFile->Exists("Video", "Hack"))
iniFile->Get("Video", "Hack", &iPhackvalue, 0);
}
void Config::Save()
@ -167,6 +167,8 @@ void Config::Save()
iniFile.Set("Hacks", "EFBCopyDisableHotKey", bEFBCopyDisableHotKey);
iniFile.Set("Hacks", "EFBToTextureEnable", bCopyEFBToRAM);
iniFile.Set("Hacks", "RemoveFlicker", bRemoveFlicker);
iniFile.Save(FULL_CONFIG_DIR "gfx_opengl.ini");
}