mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
videoconfig: add BBoxPreferStencilImplementation
@JMC47 requested this to be able to do performance comparisons.
This commit is contained in:
@ -119,6 +119,7 @@ void VideoConfig::Load(const std::string& ini_file)
|
||||
IniFile::Section* hacks = iniFile.GetOrCreateSection("Hacks");
|
||||
hacks->Get("EFBAccessEnable", &bEFBAccessEnable, true);
|
||||
hacks->Get("BBoxEnable", &bBBoxEnable, false);
|
||||
hacks->Get("BBoxPreferStencilImplementation", &bBBoxPreferStencilImplementation, false);
|
||||
hacks->Get("ForceProgressive", &bForceProgressive, true);
|
||||
hacks->Get("EFBToTextureEnable", &bSkipEFBCopyToRam, true);
|
||||
hacks->Get("EFBScaledCopy", &bCopyEFBScaled, true);
|
||||
@ -342,6 +343,7 @@ void VideoConfig::Save(const std::string& ini_file)
|
||||
IniFile::Section* hacks = iniFile.GetOrCreateSection("Hacks");
|
||||
hacks->Set("EFBAccessEnable", bEFBAccessEnable);
|
||||
hacks->Set("BBoxEnable", bBBoxEnable);
|
||||
hacks->Set("BBoxPreferStencilImplementation", bBBoxPreferStencilImplementation);
|
||||
hacks->Set("ForceProgressive", bForceProgressive);
|
||||
hacks->Set("EFBToTextureEnable", bSkipEFBCopyToRam);
|
||||
hacks->Set("EFBScaledCopy", bCopyEFBScaled);
|
||||
|
Reference in New Issue
Block a user