mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -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));
|
||||
|
Reference in New Issue
Block a user