mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Remove EFB to RAM cache, and simplify code.
This commit is contained in:
parent
e7f2a04699
commit
6659c15bed
9 changed files with 73 additions and 139 deletions
|
@ -99,7 +99,6 @@ void VideoConfig::Load(const std::string& ini_file)
|
|||
hacks->Get("EFBCopyEnable", &bEFBCopyEnable, true);
|
||||
hacks->Get("EFBToTextureEnable", &bCopyEFBToTexture, true);
|
||||
hacks->Get("EFBScaledCopy", &bCopyEFBScaled, true);
|
||||
hacks->Get("EFBCopyCacheEnable", &bEFBCopyCacheEnable, false);
|
||||
hacks->Get("EFBEmulateFormatChanges", &bEFBEmulateFormatChanges, false);
|
||||
|
||||
// Load common settings
|
||||
|
@ -199,7 +198,6 @@ void VideoConfig::GameIniLoad()
|
|||
CHECK_SETTING("Video_Hacks", "EFBCopyEnable", bEFBCopyEnable);
|
||||
CHECK_SETTING("Video_Hacks", "EFBToTextureEnable", bCopyEFBToTexture);
|
||||
CHECK_SETTING("Video_Hacks", "EFBScaledCopy", bCopyEFBScaled);
|
||||
CHECK_SETTING("Video_Hacks", "EFBCopyCacheEnable", bEFBCopyCacheEnable);
|
||||
CHECK_SETTING("Video_Hacks", "EFBEmulateFormatChanges", bEFBEmulateFormatChanges);
|
||||
|
||||
CHECK_SETTING("Video", "ProjectionHack", iPhackvalue[0]);
|
||||
|
@ -287,7 +285,6 @@ void VideoConfig::Save(const std::string& ini_file)
|
|||
hacks->Set("EFBCopyEnable", bEFBCopyEnable);
|
||||
hacks->Set("EFBToTextureEnable", bCopyEFBToTexture);
|
||||
hacks->Set("EFBScaledCopy", bCopyEFBScaled);
|
||||
hacks->Set("EFBCopyCacheEnable", bEFBCopyCacheEnable);
|
||||
hacks->Set("EFBEmulateFormatChanges", bEFBEmulateFormatChanges);
|
||||
|
||||
iniFile.Save(ini_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue