HLE bios before loading a .dol
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2987 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
42726a7576
commit
25df6acb15
|
@ -247,6 +247,29 @@ bool CBoot::BootUp()
|
|||
// ===================================================================================
|
||||
case SCoreStartupParameter::BOOT_DOL:
|
||||
{
|
||||
// Check if we have gotten a Wii file or not
|
||||
bool dolWii = CDolLoader::IsDolWii(_StartupPara.m_strFilename.c_str());
|
||||
if (dolWii != _StartupPara.bWii)
|
||||
{
|
||||
PanicAlert("Warning - starting DOL in wrong console mode!");
|
||||
}
|
||||
|
||||
// stop apploader from running when BIOS boots
|
||||
VolumeHandler::SetVolumeName("");
|
||||
|
||||
if (dolWii)
|
||||
{
|
||||
EmulatedBIOS_Wii(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!VolumeHandler::IsWii() && !_StartupPara.m_strDefaultGCM.empty())
|
||||
{
|
||||
VolumeHandler::SetVolumeName(_StartupPara.m_strDefaultGCM.c_str());
|
||||
EmulatedBIOS(false);
|
||||
}
|
||||
}
|
||||
|
||||
CDolLoader dolLoader(_StartupPara.m_strFilename.c_str());
|
||||
PC = dolLoader.GetEntryPoint();
|
||||
#ifdef _DEBUG
|
||||
|
|
Loading…
Reference in New Issue