From d006a8b52f4a68c976c9396008aff2d5cd065850 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 28 Apr 2020 18:49:52 +0200 Subject: [PATCH] DolphinQt: Disable converting from TGC This should not be exposed to users before the merge of PR #8644. (PR #8738 was unintentionally merged before PR #8644.) --- Source/Core/DolphinQt/GameList/GameList.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index 12c7cacc37..b226cfada2 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -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);