mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #8773 from JosJuice/disable-tgc-conversion
DolphinQt: Disable converting from TGC
This commit is contained in:
commit
54b85f6034
@ -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
Block a user