Merge pull request #8773 from JosJuice/disable-tgc-conversion

DolphinQt: Disable converting from TGC
This commit is contained in:
JMC47 2020-04-28 13:26:56 -04:00 committed by GitHub
commit 54b85f6034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,10 @@ void GameList::ShowContextMenu(const QPoint&)
if (HasMultipleSelected())
{
if (std::all_of(GetSelectedGames().begin(), GetSelectedGames().end(), [](const auto& game) {
return DiscIO::IsDisc(game->GetPlatform()) && game->IsVolumeSizeAccurate();
// Converting from TGC is temporarily disabled because PR #8738 was merged prematurely.
// The TGC check will be removed by PR #8644.
return DiscIO::IsDisc(game->GetPlatform()) && game->IsVolumeSizeAccurate() &&
game->GetBlobType() != DiscIO::BlobType::TGC;
}))
{
menu->addAction(tr("Convert Selected Files..."), this, &GameList::ConvertFile);