mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Update the country code in SysConf when wii system language is changed.
remove annoying assert for invalid loaders on disc titles. Fixes issue 4287. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7514 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ff63ef20c2
commit
c88126233b
6 changed files with 62 additions and 9 deletions
|
@ -219,7 +219,7 @@ bool CNANDContentLoader::CreateFromDirectory(const std::string& _rPath)
|
|||
m_IosVersion = Common::swap16(pTMD + 0x018a);
|
||||
m_Country = *(u8*)&m_TitleID;
|
||||
if (m_Country == 2) // SYSMENU
|
||||
m_Country = DiscIO::GetSysMenuRegion(m_TileVersion);
|
||||
m_Country = GetSysMenuRegion(m_TileVersion);
|
||||
|
||||
m_Content.resize(m_numEntries);
|
||||
|
||||
|
@ -305,7 +305,7 @@ bool CNANDContentLoader::ParseTMD(u8* pDataApp, u32 pDataAppSize, u8* pTicket, u
|
|||
m_IosVersion = Common::swap16(pTMD + 0x018a);
|
||||
m_Country = *(u8*)&m_TitleID;
|
||||
if (m_Country == 2) // SYSMENU
|
||||
m_Country = DiscIO::GetSysMenuRegion(m_TileVersion);
|
||||
m_Country = GetSysMenuRegion(m_TileVersion);
|
||||
|
||||
u8* p = pDataApp;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue