mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Newer version OpenGL game hacks by val532.(Has a lot better way of handling specific game hacks)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3196 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -80,9 +80,9 @@ void Config::Load()
|
||||
|
||||
iniFile.Get("Hacks", "EFBCopyDisable", &bEFBCopyDisable, 0);
|
||||
iniFile.Get("Hacks", "EFBCopyDisableHotKey", &bEFBCopyDisableHotKey, 0);
|
||||
iniFile.Get("Hacks", "ProjectionHax1", &bProjectionHax1, 0);
|
||||
//iniFile.Get("Hacks", "ProjectionHax1", &bProjectionHax1, 0);
|
||||
iniFile.Get("Hacks", "EFBToTextureEnable", &bCopyEFBToRAM, 0);
|
||||
iniFile.Get("Hacks", "SMGhack", &bSMGhack, false);
|
||||
//iniFile.Get("Hacks", "Hack", &bHack, false);
|
||||
}
|
||||
|
||||
void Config::GameIniLoad() {
|
||||
@ -102,8 +102,8 @@ void Config::GameIniLoad() {
|
||||
if (iniFile->Exists("Video", "EFBCopyDisableHotKey"))
|
||||
iniFile->Get("Video", "EFBCopyDisableHotKey", &bEFBCopyDisableHotKey, 0);
|
||||
|
||||
if (iniFile->Exists("Video", "ProjectionHax1"))
|
||||
iniFile->Get("Video", "ProjectionHax1", &bProjectionHax1, 0);
|
||||
//if (iniFile->Exists("Video", "ProjectionHax1"))
|
||||
// iniFile->Get("Video", "ProjectionHax1", &bProjectionHax1, 0);
|
||||
|
||||
if (iniFile->Exists("Video", "EFBToTextureEnable"))
|
||||
iniFile->Get("Video", "EFBToTextureEnable", &bCopyEFBToRAM, 0);
|
||||
@ -111,8 +111,8 @@ void Config::GameIniLoad() {
|
||||
if (iniFile->Exists("Video", "SafeTextureCache"))
|
||||
iniFile->Get("Video", "SafeTextureCache", &bSafeTextureCache, false);
|
||||
|
||||
if (iniFile->Exists("Video", "SMGhack"))
|
||||
iniFile->Get("Video", "SMGhack", &bSMGhack, false);
|
||||
// if (iniFile->Exists("Video", "SMGhack"))
|
||||
// iniFile->Get("Video", "SMGhack", &bSMGhack, false);
|
||||
|
||||
if (iniFile->Exists("Video", "MSAA"))
|
||||
iniFile->Get("Video", "MSAA", &iMultisampleMode, 0);
|
||||
@ -170,9 +170,9 @@ void Config::Save()
|
||||
|
||||
iniFile.Set("Hacks", "EFBCopyDisable", bEFBCopyDisable);
|
||||
iniFile.Set("Hacks", "EFBCopyDisableHotKey", bEFBCopyDisableHotKey);
|
||||
iniFile.Set("Hacks", "ProjectionHax1", bProjectionHax1);
|
||||
//iniFile.Set("Hacks", "ProjectionHax1", bProjectionHax1);
|
||||
iniFile.Set("Hacks", "EFBToTextureEnable", bCopyEFBToRAM);
|
||||
iniFile.Set("Hacks", "SMGhack", bSMGhack);
|
||||
//iniFile.Set("Hacks", "SMGhack", bSMGhack);
|
||||
|
||||
iniFile.Save(FULL_CONFIG_DIR "gfx_opengl.ini");
|
||||
}
|
||||
|
Reference in New Issue
Block a user