mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +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
|
@ -12,6 +12,7 @@
|
|||
#include "Core/Core.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
#include "Core/State.h"
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/NANDContentLoader.h"
|
||||
#include "DolphinWX/Globals.h"
|
||||
#include "DolphinWX/WxUtils.h"
|
||||
|
@ -546,8 +547,8 @@ void MainMenuBar::RefreshWiiSystemMenuLabel() const
|
|||
|
||||
if (sys_menu_loader.IsValid())
|
||||
{
|
||||
const auto sys_menu_version = sys_menu_loader.GetTitleVersion();
|
||||
const auto sys_menu_region = sys_menu_loader.GetCountryChar();
|
||||
const u16 sys_menu_version = sys_menu_loader.GetTMD().GetTitleVersion();
|
||||
const char sys_menu_region = DiscIO::GetSysMenuRegion(sys_menu_version);
|
||||
item->Enable();
|
||||
item->SetItemLabel(
|
||||
wxString::Format(_("Load Wii System Menu %u%c"), sys_menu_version, sys_menu_region));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue