diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-08-22 21:26:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-22 21:26:38 +0200 |
| commit | 232b81999aaa85632799bcd7498f655a91e1c7bc (patch) | |
| tree | f50e5075d77e843591de0dbe76b7554c77ed8ed2 /Source/Core/DolphinQt2/GameList/GameFile.cpp | |
| parent | b13d7f9d473b875493530a50237b2b5b13050da0 (diff) | |
| parent | 061da1300a67833b75b41db247729844b4ab6cd0 (diff) | |
Merge pull request #5961 from ligfx/gamefilebanner
GameFile: handle missing banners in UI instead
Diffstat (limited to 'Source/Core/DolphinQt2/GameList/GameFile.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/GameList/GameFile.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt2/GameList/GameFile.cpp b/Source/Core/DolphinQt2/GameList/GameFile.cpp index 9797dcb31a..9e4e0f1dc2 100644 --- a/Source/Core/DolphinQt2/GameList/GameFile.cpp +++ b/Source/Core/DolphinQt2/GameList/GameFile.cpp @@ -99,8 +99,6 @@ void GameFile::ReadBanner(const DiscIO::Volume& volume) if (!banner.isNull()) m_banner = QPixmap::fromImage(banner); - else - m_banner = Resources::GetMisc(Resources::BANNER_MISSING); } bool GameFile::LoadFileInfo(const QString& path) @@ -197,7 +195,6 @@ bool GameFile::TryLoadElfDol() m_country = DiscIO::Country::COUNTRY_UNKNOWN; m_blob_type = DiscIO::BlobType::DIRECTORY; m_raw_size = m_size; - m_banner = Resources::GetMisc(Resources::BANNER_MISSING); m_rating = 0; return true; |
