From 44f24205171e122f491b05c75ef24495a8e555f7 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 11 Jun 2017 14:36:14 +0100 Subject: [PATCH] GraphicsSettings: PH_ZNear and PH_ZFar are std::strings --- Source/Core/Core/Config/GraphicsSettings.cpp | 6 ++++-- Source/Core/Core/Config/GraphicsSettings.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/Config/GraphicsSettings.cpp b/Source/Core/Core/Config/GraphicsSettings.cpp index 870fb1971c..b74a6e3038 100644 --- a/Source/Core/Core/Config/GraphicsSettings.cpp +++ b/Source/Core/Core/Config/GraphicsSettings.cpp @@ -128,8 +128,10 @@ const ConfigInfo GFX_HACK_VERTEX_ROUDING{{System::GFX, "Hacks", "VertexRou const ConfigInfo GFX_PROJECTION_HACK{{System::GFX, "GameSpecific", "ProjectionHack"}, 0}; const ConfigInfo GFX_PROJECTION_HACK_SZNEAR{{System::GFX, "GameSpecific", "PH_SZNear"}, 0}; const ConfigInfo GFX_PROJECTION_HACK_SZFAR{{System::GFX, "GameSpecific", "PH_SZFar"}, 0}; -const ConfigInfo GFX_PROJECTION_HACK_ZNEAR{{System::GFX, "GameSpecific", "PH_ZNear"}, 0}; -const ConfigInfo GFX_PROJECTION_HACK_ZFAR{{System::GFX, "GameSpecific", "PH_ZFar"}, 0}; +const ConfigInfo GFX_PROJECTION_HACK_ZNEAR{{System::GFX, "GameSpecific", "PH_ZNear"}, + ""}; +const ConfigInfo GFX_PROJECTION_HACK_ZFAR{{System::GFX, "GameSpecific", "PH_ZFar"}, + ""}; const ConfigInfo GFX_PERF_QUERIES_ENABLE{{System::GFX, "GameSpecific", "PerfQueriesEnable"}, false}; } // namespace Config diff --git a/Source/Core/Core/Config/GraphicsSettings.h b/Source/Core/Core/Config/GraphicsSettings.h index 0b3b98ee06..8325aea3b1 100644 --- a/Source/Core/Core/Config/GraphicsSettings.h +++ b/Source/Core/Core/Config/GraphicsSettings.h @@ -101,8 +101,8 @@ extern const ConfigInfo GFX_HACK_VERTEX_ROUDING; extern const ConfigInfo GFX_PROJECTION_HACK; extern const ConfigInfo GFX_PROJECTION_HACK_SZNEAR; extern const ConfigInfo GFX_PROJECTION_HACK_SZFAR; -extern const ConfigInfo GFX_PROJECTION_HACK_ZNEAR; -extern const ConfigInfo GFX_PROJECTION_HACK_ZFAR; +extern const ConfigInfo GFX_PROJECTION_HACK_ZNEAR; +extern const ConfigInfo GFX_PROJECTION_HACK_ZFAR; extern const ConfigInfo GFX_PERF_QUERIES_ENABLE; } // namespace Config