mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Android: Only allow conversion when appropriate
This commit is contained in:
@ -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;
|
||||
|
@ -101,6 +101,7 @@ public:
|
||||
const std::string& GetCompressionMethod() const { return m_compression_method; }
|
||||
bool ShouldShowFileFormatDetails() const;
|
||||
std::string GetFileFormatName() const;
|
||||
bool ShouldAllowConversion() const;
|
||||
const std::string& GetApploaderDate() const { return m_apploader_date; }
|
||||
u64 GetFileSize() const { return m_file_size; }
|
||||
u64 GetVolumeSize() const { return m_volume_size; }
|
||||
|
Reference in New Issue
Block a user