mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
DolphinWX: Use title ID from ISOFile when possible
This skips creating volume objects, which can take a while.
This commit is contained in:
@ -1227,9 +1227,7 @@ void CFrame::OnUninstallWAD(wxCommandEvent&)
|
||||
return;
|
||||
}
|
||||
|
||||
const auto volume = DiscIO::CreateVolumeFromFilename(file->GetFileName());
|
||||
u64 title_id;
|
||||
volume->GetTitleID(&title_id);
|
||||
u64 title_id = file->GetTitleID();
|
||||
if (!DiscIO::CNANDContentManager::Access().RemoveTitle(title_id, Common::FROM_CONFIGURED_ROOT))
|
||||
{
|
||||
PanicAlertT("Failed to remove this title from the NAND.");
|
||||
|
Reference in New Issue
Block a user