Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12049 from iwubcode/initialize_asset_load_info
VideoCommon: initialize load info variables in CustomAssetLibrary
  • Loading branch information
AdmiralCurtiss committed Jul 16, 2023
2 parents 2814e4e + 5740be1 commit 9ebfceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/Assets/CustomAssetLibrary.h
Expand Up @@ -34,8 +34,8 @@ class CustomAssetLibrary

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
Expand Down

0 comments on commit 9ebfceb

Please sign in to comment.