From 5740be15f9fe5c6a009f097b9089970f3f78682a Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sun, 16 Jul 2023 12:56:03 -0500 Subject: [PATCH] VideoCommon: initialize load info variables --- Source/Core/VideoCommon/Assets/CustomAssetLibrary.h | 4 ++-- 1 file 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