diff options
| author | Jules Blok <jules.blok@gmail.com> | 2016-10-21 21:45:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-21 21:45:29 +0000 |
| commit | 2536e37ec518c8d0e949ec7780ee0fb53e8b066e (patch) | |
| tree | a94415f080bbe97e7b7704d791a03d240fe282e4 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 2fc2baf376360ff2384fc8aed618a1ddfeba6ab9 (diff) | |
| parent | ab5054c34e8fc528fc5808d7f8254a6cdd89a376 (diff) | |
Merge pull request #4194 from Armada651/efb-source-format
PixelShaderGen: Add support for RGBA6 EFB format truncation.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 73e6eafa12..0e79b4b180 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -103,6 +103,7 @@ void VideoConfig::Load(const std::string& ini_file) enhancements->Get("ForceFiltering", &bForceFiltering, 0); enhancements->Get("MaxAnisotropy", &iMaxAnisotropy, 0); // NOTE - this is x in (1 << x) enhancements->Get("PostProcessingShader", &sPostProcessingShader, ""); + enhancements->Get("ForceTrueColor", &bForceTrueColor, true); IniFile::Section* stereoscopy = iniFile.GetOrCreateSection("Stereoscopy"); stereoscopy->Get("StereoMode", &iStereoMode, 0); @@ -167,6 +168,7 @@ void VideoConfig::GameIniLoad() CHECK_SETTING("Video_Settings", "FastDepthCalc", bFastDepthCalc); CHECK_SETTING("Video_Settings", "MSAA", iMultisamples); CHECK_SETTING("Video_Settings", "SSAA", bSSAA); + CHECK_SETTING("Video_Settings", "ForceTrueColor", bForceTrueColor); int tmp = -9000; CHECK_SETTING("Video_Settings", "EFBScale", tmp); // integral @@ -317,6 +319,7 @@ void VideoConfig::Save(const std::string& ini_file) enhancements->Set("ForceFiltering", bForceFiltering); enhancements->Set("MaxAnisotropy", iMaxAnisotropy); enhancements->Set("PostProcessingShader", sPostProcessingShader); + enhancements->Set("ForceTrueColor", bForceTrueColor); IniFile::Section* stereoscopy = iniFile.GetOrCreateSection("Stereoscopy"); stereoscopy->Set("StereoMode", iStereoMode); |
