summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-07-19 23:46:56 +0200
committerJoshua Vandaƫle <joshua@vandaele.software>2026-07-19 23:50:05 +0200
commit48b640c8bbdfa7b7a98875e1d47fbbb47e285390 (patch)
treede799b47df9ec598a9188fc55fe2890ad743c3d8 /Source
parent415ec4de182034179143231e84c17dbcdf8be8aa (diff)
GameFile: Disallow mods from being converted
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/UICommon/GameFile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp
index 4acab314d1..bc623a8410 100644
--- a/Source/Core/UICommon/GameFile.cpp
+++ b/Source/Core/UICommon/GameFile.cpp
@@ -842,7 +842,8 @@ std::string GameFile::GetFileFormatName() 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