summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2022-03-12 15:30:50 -0600
committeriwubcode <iwubcode@users.noreply.github.com>2022-06-26 21:53:21 -0500
commitf92beb611f5e7effc9d1b8a90fbd4004233945ff (patch)
treea23bafdebe3cd943236047e1c1b2d5661ef6f10d /Source/Core
parent3857e1fa66fd2e17b29a93e02a38e6ac86eb063d (diff)
VideoCommon: add game mod constants
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinLib.props1
-rw-r--r--Source/Core/VideoCommon/CMakeLists.txt1
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Constants.h11
3 files changed, 13 insertions, 0 deletions
diff --git a/Source/Core/DolphinLib.props b/Source/Core/DolphinLib.props
index c1635eb6fb..b164c6dda1 100644
--- a/Source/Core/DolphinLib.props
+++ b/Source/Core/DolphinLib.props
@@ -631,6 +631,7 @@
<ClInclude Include="VideoCommon\FreeLookCamera.h" />
<ClInclude Include="VideoCommon\GeometryShaderGen.h" />
<ClInclude Include="VideoCommon\GeometryShaderManager.h" />
+ <ClInclude Include="VideoCommon\GraphicsModSystem\Constants.h" />
<ClInclude Include="VideoCommon\GXPipelineTypes.h" />
<ClInclude Include="VideoCommon\HiresTextures.h" />
<ClInclude Include="VideoCommon\ImageWrite.h" />
diff --git a/Source/Core/VideoCommon/CMakeLists.txt b/Source/Core/VideoCommon/CMakeLists.txt
index ec8f89c829..51e51e672d 100644
--- a/Source/Core/VideoCommon/CMakeLists.txt
+++ b/Source/Core/VideoCommon/CMakeLists.txt
@@ -39,6 +39,7 @@ add_library(videocommon
GeometryShaderGen.h
GeometryShaderManager.cpp
GeometryShaderManager.h
+ GraphicsModSystem/Constants.h
HiresTextures.cpp
HiresTextures.h
HiresTextures_DDSLoader.cpp
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Constants.h b/Source/Core/VideoCommon/GraphicsModSystem/Constants.h
new file mode 100644
index 0000000000..5c73c3e962
--- /dev/null
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Constants.h
@@ -0,0 +1,11 @@
+// Copyright 2022 Dolphin Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <string>
+
+#include "Common/CommonPaths.h"
+
+static const inline std::string DOLPHIN_SYSTEM_GRAPHICS_MOD_DIR =
+ LOAD_DIR DIR_SEP GRAPHICSMOD_DIR DIR_SEP;