fix wii menu booting: fix if you know a better way :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3376 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-06-08 12:58:09 +00:00
parent e1840df905
commit ad4ffaf0b6

View File

@ -57,6 +57,9 @@ void SCoreStartupParameter::LoadDefaults()
bJITIntegerOff = false;
bJITPairedOff = false;
bJITSystemRegistersOff = false;
m_strName = "NONE";
m_strUniqueID = "00000000";
}
bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
@ -152,20 +155,20 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
// 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;
m_strName = pVolume->GetName();
m_strUniqueID = pVolume->GetUniqueID();
if (pVolume)
{
m_strName = pVolume->GetName();
m_strUniqueID = pVolume->GetUniqueID();
}
delete pVolume;
}
else