mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Use ESFormats for TMDs
We already have a TMDReader, so let's actually use it. And move ESFormats to IOS::ES, since it's definitely part of IOS. This adds a DiscIO dependency on Core which will be fixed in a follow-up PR.
This commit is contained in:
parent
bf1f70db0a
commit
c1a139e8ac
26 changed files with 337 additions and 356 deletions
|
@ -1225,23 +1225,7 @@ void CFrame::OnInstallWAD(wxCommandEvent& event)
|
|||
|
||||
void CFrame::UpdateLoadWiiMenuItem() const
|
||||
{
|
||||
auto* const menu_item = GetMenuBar()->FindItem(IDM_LOAD_WII_MENU);
|
||||
|
||||
const auto& sys_menu_loader = DiscIO::CNANDContentManager::Access().GetNANDLoader(
|
||||
TITLEID_SYSMENU, Common::FROM_CONFIGURED_ROOT);
|
||||
|
||||
if (sys_menu_loader.IsValid())
|
||||
{
|
||||
const int version = sys_menu_loader.GetTitleVersion();
|
||||
const char region = sys_menu_loader.GetCountryChar();
|
||||
menu_item->Enable();
|
||||
menu_item->SetItemLabel(wxString::Format(_("Load Wii System Menu %d%c"), version, region));
|
||||
}
|
||||
else
|
||||
{
|
||||
menu_item->Enable(false);
|
||||
menu_item->SetItemLabel(_("Load Wii System Menu"));
|
||||
}
|
||||
GetMenuBar()->Refresh(true, nullptr);
|
||||
}
|
||||
|
||||
void CFrame::OnFifoPlayer(wxCommandEvent& WXUNUSED(event))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue