Android: Only allow conversion when appropriate

This commit is contained in:
JosJuice committed 2020-09-16 18:48:25 +02:00
1 parent 23ea47d4df
commit f01ccfdb82
6 files changed
+27 -6

No files matched your search

+5
View File
@@ -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;