diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-11-11 16:48:18 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-12-10 18:29:21 -0600 |
| commit | 3658d3bffed6bdf4d31a2b2264bd3944101318c8 (patch) | |
| tree | 01f93f3e3745cf7a2d152ed2a638c637d4dac6f2 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp | |
| parent | 003872d7dd7894136010b20ca3e5e21179297a18 (diff) | |
VideoCommon: add ability to serialize graphics mod to json object
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp index 0d2f0fe347..01e7a07033 100644 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp @@ -225,7 +225,7 @@ void GraphicsModManager::Load(const GraphicsModGroupConfig& config) WARN_LOG_FMT(VIDEO, "Specified graphics mod asset '{}' for mod '{}' has an absolute path, you " "shouldn't release this to users.", - asset.m_name, mod.m_title); + asset.m_asset_id, mod.m_title); } else { @@ -233,7 +233,7 @@ void GraphicsModManager::Load(const GraphicsModGroupConfig& config) } } - filesystem_library->SetAssetIDMapData(asset.m_name, std::move(asset_map)); + filesystem_library->SetAssetIDMapData(asset.m_asset_id, std::move(asset_map)); } } |
