summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-07-16 23:32:13 +0200
committerGitHub <noreply@github.com>2023-07-16 23:32:13 +0200
commit9ebfcebddee0840e3cd86b090f892393efdba303 (patch)
treec49ca029d27394cbc24dee38857970448b696993 /Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
parent2814e4e283addfcacf9bde27d65e0a06593cf6f0 (diff)
parent5740be15f9fe5c6a009f097b9089970f3f78682a (diff)
Merge pull request #12049 from iwubcode/initialize_asset_load_info
VideoCommon: initialize load info variables in CustomAssetLibrary
Diffstat (limited to 'Source/Core/VideoCommon/Assets/CustomAssetLibrary.h')
-rw-r--r--Source/Core/VideoCommon/Assets/CustomAssetLibrary.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
index 32e8020ae0..6eec276620 100644
--- a/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
+++ b/Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
@@ -34,8 +34,8 @@ public:
struct LoadInfo
{
- std::size_t m_bytes_loaded;
- CustomAssetLibrary::TimeType m_load_time;
+ std::size_t m_bytes_loaded = 0;
+ CustomAssetLibrary::TimeType m_load_time = {};
};
// Loads a texture, if there are no levels, bytes loaded will be empty