GameFile: Disallow mods from being converted
This commit is contained in:
1 file changed
+2
-1
@@ -842,7 +842,8 @@ std::string GameFile::GetFileFormatName() const
|
|||||||
|
|
||||||
bool GameFile::ShouldAllowConversion() const
|
bool GameFile::ShouldAllowConversion() const
|
||||||
{
|
{
|
||||||
return DiscIO::IsDisc(m_platform) && m_volume_size_type == DiscIO::DataSizeType::Accurate;
|
return DiscIO::IsDisc(m_platform) && m_volume_size_type == DiscIO::DataSizeType::Accurate &&
|
||||||
|
!IsModDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GameFile::IsModDescriptor() const
|
bool GameFile::IsModDescriptor() const
|
||||||
|
|||||||
Reference in new issue
Block a user