From 20dc4401c5ae6001aa064911c1e5de0d57642ee4 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Fri, 27 Jan 2023 18:35:05 -0600 Subject: VideoCommon: pass a graphics mod base path to the graphics mod, so it can lookup other relative files if necessary --- .../VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp') diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp index 5eaac88c25..7b97155d8a 100644 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp @@ -10,7 +10,8 @@ namespace GraphicsModActionFactory { -std::unique_ptr Create(std::string_view name, const picojson::value& json_data) +std::unique_ptr Create(std::string_view name, const picojson::value& json_data, + std::string_view path) { if (name == "print") { -- cgit v1.2.3