Merge pull request #12049 from iwubcode/initialize_asset_load_info

VideoCommon: initialize load info variables in CustomAssetLibrary
This commit is contained in:
Admiral H. Curtiss 2023-07-16 23:32:13 +02:00 committed by GitHub
commit 9ebfcebdde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,8 @@ public:
struct LoadInfo struct LoadInfo
{ {
std::size_t m_bytes_loaded; std::size_t m_bytes_loaded = 0;
CustomAssetLibrary::TimeType m_load_time; CustomAssetLibrary::TimeType m_load_time = {};
}; };
// Loads a texture, if there are no levels, bytes loaded will be empty // Loads a texture, if there are no levels, bytes loaded will be empty