mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #3963 from JosJuice/banner-loaded-failure
VolumeGC: Set m_banner_loaded when banner loading fails
This commit is contained in:
commit
cc66f0336f
@ -206,6 +206,8 @@ void CVolumeGC::LoadBannerFile() const
|
||||
if (m_banner_loaded)
|
||||
return;
|
||||
|
||||
m_banner_loaded = true;
|
||||
|
||||
GCBanner banner_file;
|
||||
std::unique_ptr<IFileSystem> file_system(CreateFileSystem(this));
|
||||
size_t file_size = (size_t)file_system->GetFileSize("opening.bnr");
|
||||
@ -236,7 +238,6 @@ void CVolumeGC::LoadBannerFile() const
|
||||
}
|
||||
|
||||
ExtractBannerInformation(banner_file, is_bnr1);
|
||||
m_banner_loaded = true;
|
||||
}
|
||||
|
||||
void CVolumeGC::ExtractBannerInformation(const GCBanner& banner_file, bool is_bnr1) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user