debugfast build fixing. make the hle bios loading-or-not logic make sense.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3113 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-05-01 08:23:25 +00:00
parent edc143e25d
commit 07b774c7de
3 changed files with 174 additions and 8 deletions

View File

@ -194,13 +194,22 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios)
CheckMemcardPath(SConfig::GetInstance().m_strMemoryCardA, Region, true);
CheckMemcardPath(SConfig::GetInstance().m_strMemoryCardB, Region, false);
m_strSRAM = GC_SRAM_FILE;
m_strBios = FULL_GC_SYS_DIR + Region + DIR_SEP GC_IPL;
if (!File::Exists(m_strBios.c_str()) || SConfig::GetInstance().m_LocalCoreStartupParameter.bHLEBios)
bHLEBios = true;
if (!bWii)
{
//WARN_LOG(BOOT, "BIOS file %s not found - using HLE.", m_strBios.c_str());
bHLEBios = true;
m_strBios = FULL_GC_SYS_DIR + Region + DIR_SEP GC_IPL;
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bHLEBios)
{
if (File::Exists(m_strBios.c_str()))
{
bHLEBios = false;
}
else
{
WARN_LOG(BOOT, "BIOS file %s not found - using HLE.", m_strBios.c_str());
}
}
}
return true;
}