From f92beb611f5e7effc9d1b8a90fbd4004233945ff Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 12 Mar 2022 15:30:50 -0600 Subject: [PATCH] VideoCommon: add game mod constants --- Source/Core/DolphinLib.props | 1 + Source/Core/VideoCommon/CMakeLists.txt | 1 + Source/Core/VideoCommon/GraphicsModSystem/Constants.h | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 Source/Core/VideoCommon/GraphicsModSystem/Constants.h 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 @@ + 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 + +#include "Common/CommonPaths.h" + +static const inline std::string DOLPHIN_SYSTEM_GRAPHICS_MOD_DIR = + LOAD_DIR DIR_SEP GRAPHICSMOD_DIR DIR_SEP;