mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
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:
@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user