From 3658d3bffed6bdf4d31a2b2264bd3944101318c8 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 11 Nov 2023 16:48:18 -0600 Subject: VideoCommon: add ability to serialize graphics mod to json object --- .../Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModManager.cpp') 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)); } } -- cgit v1.2.3