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.)
This commit is contained in:
parent
116cef572b
commit
d006a8b52f
|
@ -257,7 +257,10 @@ void GameList::ShowContextMenu(const QPoint&)
|
||||||
if (HasMultipleSelected())
|
if (HasMultipleSelected())
|
||||||
{
|
{
|
||||||
if (std::all_of(GetSelectedGames().begin(), GetSelectedGames().end(), [](const auto& game) {
|
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);
|
menu->addAction(tr("Convert Selected Files..."), this, &GameList::ConvertFile);
|
||||||
|
|
Loading…
Reference in New Issue