diff options
Diffstat (limited to 'Source/Core/VideoCommon/Assets/CustomAsset.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Assets/CustomAsset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAsset.cpp b/Source/Core/VideoCommon/Assets/CustomAsset.cpp index 60c7f1ee12..ab82f03a95 100644 --- a/Source/Core/VideoCommon/Assets/CustomAsset.cpp +++ b/Source/Core/VideoCommon/Assets/CustomAsset.cpp @@ -19,10 +19,10 @@ std::size_t CustomAsset::Load() const auto load_time = ClockType::now(); const auto load_information = LoadImpl(m_asset_id); - if (load_information.m_bytes_loaded > 0) + if (load_information.bytes_loaded > 0) { std::lock_guard lk(m_info_lock); - m_bytes_loaded = load_information.m_bytes_loaded; + m_bytes_loaded = load_information.bytes_loaded; m_last_loaded_time = load_time; return m_bytes_loaded; } |
