summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-06-03 20:00:08 +0200
committerGitHub <noreply@github.com>2023-06-03 20:00:08 +0200
commit252d3f353aa74b06a1c67daa65eb60f786608a6a (patch)
treeddce8b32f609e22ed024efd3b6c0c0fc43a2618c /Source/Core
parent80bf175c48ea04739637b1ad6fda9716ae610635 (diff)
parent9b9dc6dc5d6eb5ab403dab3bc51f7b3f7131158f (diff)
Merge pull request #11883 from iwubcode/asset_template_error
VideoCommon: fix issue in C++ template
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/Assets/CustomAsset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAsset.h b/Source/Core/VideoCommon/Assets/CustomAsset.h
index 1f4d5061c1..6fd890e4bc 100644
--- a/Source/Core/VideoCommon/Assets/CustomAsset.h
+++ b/Source/Core/VideoCommon/Assets/CustomAsset.h
@@ -72,7 +72,7 @@ public:
{
std::lock_guard lk(m_lock);
if (m_loaded)
- return &m_data;
+ return m_data;
return nullptr;
}