diff options
| author | JosJuice <josjuice@gmail.com> | 2020-06-27 12:35:18 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-09-16 18:48:25 +0200 |
| commit | f01ccfdb824d37dd9bee2eb150a7721ea19b6837 (patch) | |
| tree | 5c931dea76a4e17da2ee528b447fad6d81bd7d19 /Source/Core/UICommon/GameFile.cpp | |
| parent | 23ea47d4dfb8ea4ac2b33aa8c5650110dbb0aa89 (diff) | |
Android: Only allow conversion when appropriate
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index 30641d58e5..ff0fa84798 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -672,6 +672,11 @@ std::string GameFile::GetFileFormatName() const } } +bool GameFile::ShouldAllowConversion() const +{ + return DiscIO::IsDisc(m_platform) && m_volume_size_is_accurate; +} + const GameBanner& GameFile::GetBannerImage() const { return m_custom_banner.empty() ? m_volume_banner : m_custom_banner; |
