From 82fd984f3e53f430af6f043d3062c883bb308634 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 27 Nov 2016 18:14:57 +1000 Subject: VideoBackends: Add configuration field for GPU texture decoding --- Source/Core/VideoCommon/VideoConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 7579c90c6e..08b814fd28 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -81,6 +81,7 @@ void VideoConfig::Load(const std::string& ini_file) settings->Get("DumpPath", &sDumpPath, ""); settings->Get("BitrateKbps", &iBitrateKbps, 2500); settings->Get("InternalResolutionFrameDumps", &bInternalResolutionFrameDumps, false); + settings->Get("EnableGPUTextureDecoding", &bEnableGPUTextureDecoding, false); settings->Get("EnablePixelLighting", &bEnablePixelLighting, false); settings->Get("FastDepthCalc", &bFastDepthCalc, true); settings->Get("MSAA", &iMultisamples, 1); @@ -305,6 +306,7 @@ void VideoConfig::Save(const std::string& ini_file) settings->Set("DumpPath", sDumpPath); settings->Set("BitrateKbps", iBitrateKbps); settings->Set("InternalResolutionFrameDumps", bInternalResolutionFrameDumps); + settings->Set("EnableGPUTextureDecoding", bEnableGPUTextureDecoding); settings->Set("EnablePixelLighting", bEnablePixelLighting); settings->Set("FastDepthCalc", bFastDepthCalc); settings->Set("MSAA", iMultisamples); -- cgit v1.2.3