added pal/ntsc detection for WADs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2654 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3e037c71d7
commit
bf30cc8a72
|
@ -142,10 +142,23 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
|
|||
}
|
||||
else if (DiscIO::CNANDContentManager::Access().GetNANDLoader(m_strFilename).IsValid())
|
||||
{
|
||||
const DiscIO::INANDContentLoader& ContentLoader = DiscIO::CNANDContentManager::Access().GetNANDLoader(m_strFilename);
|
||||
u64 TitleID = ContentLoader.GetTitleID();
|
||||
char* pTitleID = (char*)&TitleID;
|
||||
|
||||
// NTSC or PAL
|
||||
if ((pTitleID[0] == 'E') || (pTitleID[0] == 'J'))
|
||||
{
|
||||
bNTSC = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
bNTSC = false;
|
||||
}
|
||||
|
||||
bWii = true;
|
||||
Region = EUR_DIR;
|
||||
m_BootType = BOOT_WII_NAND;
|
||||
bNTSC = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue