mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
VideoSW: Use more VideoCommon
Now we require lots of empty functions, but this removes by far more duplicated code.
This commit is contained in:
parent
7fcb5a803b
commit
efbe5bc4b6
51 changed files with 529 additions and 2025 deletions
|
@ -87,6 +87,15 @@ void VideoConfig::Load(const std::string& ini_file)
|
|||
settings->Get("EnableShaderDebugging", &bEnableShaderDebugging, false);
|
||||
settings->Get("BorderlessFullscreen", &bBorderlessFullscreen, false);
|
||||
|
||||
settings->Get("SWZComploc", &bZComploc, true);
|
||||
settings->Get("SWZFreeze", &bZFreeze, true);
|
||||
settings->Get("SWDumpObjects", &bDumpObjects, false);
|
||||
settings->Get("SWDumpTevStages", &bDumpTevStages, false);
|
||||
settings->Get("SWDumpTevTexFetches", &bDumpTevTextureFetches, false);
|
||||
settings->Get("SWDrawStart", &drawStart, 0);
|
||||
settings->Get("SWDrawEnd", &drawEnd, 100000);
|
||||
|
||||
|
||||
IniFile::Section* enhancements = iniFile.GetOrCreateSection("Enhancements");
|
||||
enhancements->Get("ForceFiltering", &bForceFiltering, 0);
|
||||
enhancements->Get("MaxAnisotropy", &iMaxAnisotropy, 0); // NOTE - this is x in (1 << x)
|
||||
|
@ -287,6 +296,14 @@ void VideoConfig::Save(const std::string& ini_file)
|
|||
settings->Set("EnableShaderDebugging", bEnableShaderDebugging);
|
||||
settings->Set("BorderlessFullscreen", bBorderlessFullscreen);
|
||||
|
||||
settings->Set("SWZComploc", bZComploc);
|
||||
settings->Set("SWZFreeze", bZFreeze);
|
||||
settings->Set("SWDumpObjects", bDumpObjects);
|
||||
settings->Set("SWDumpTevStages", bDumpTevStages);
|
||||
settings->Set("SWDumpTevTexFetches", bDumpTevTextureFetches);
|
||||
settings->Set("SWDrawStart", drawStart);
|
||||
settings->Set("SWDrawEnd", drawEnd);
|
||||
|
||||
IniFile::Section* enhancements = iniFile.GetOrCreateSection("Enhancements");
|
||||
enhancements->Set("ForceFiltering", bForceFiltering);
|
||||
enhancements->Set("MaxAnisotropy", iMaxAnisotropy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue