diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-01-27 18:35:05 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-02-11 00:21:40 -0600 |
| commit | 20dc4401c5ae6001aa064911c1e5de0d57642ee4 (patch) | |
| tree | 33e9aafbaf55a26b2abf0bca870c99de4eee7141 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp | |
| parent | fbb3db71b2d6df4b4d6c697cfc35b7bdc05c3605 (diff) | |
VideoCommon: pass a graphics mod base path to the graphics mod, so it can lookup other relative files if necessary
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionFactory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<GraphicsModAction> Create(std::string_view name, const picojson::value& json_data) +std::unique_ptr<GraphicsModAction> Create(std::string_view name, const picojson::value& json_data, + std::string_view path) { if (name == "print") { |
