mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02:00
Merge pull request #5400 from JosJuice/volumedirectory-no-emulatedbs2wii
Don't run EmulatedBS2_Wii with VolumeDirectory
This commit is contained in:
commit
c18c1ec6ad
@ -354,18 +354,24 @@ bool CBoot::BootUp()
|
|||||||
volume = SetDisc(DiscIO::CreateVolumeFromFilename(_StartupPara.m_strDefaultISO));
|
volume = SetDisc(DiscIO::CreateVolumeFromFilename(_StartupPara.m_strDefaultISO));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!EmulatedBS2(dolWii, volume))
|
// Poor man's bootup
|
||||||
|
if (dolWii)
|
||||||
{
|
{
|
||||||
if (dolWii)
|
HID4.SBE = 1;
|
||||||
HID4.SBE = 1;
|
|
||||||
SetupBAT(dolWii);
|
SetupBAT(dolWii);
|
||||||
|
|
||||||
if (dolWii)
|
// Because there is no TMD to get the requested system (IOS) version from,
|
||||||
SetupWiiMemory(volume, 0x000000010000003a);
|
// we default to IOS58, which is the version used by the Homebrew Channel.
|
||||||
|
SetupWiiMemory(volume, 0x000000010000003a);
|
||||||
dolLoader.Load();
|
|
||||||
PC = dolLoader.GetEntryPoint();
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
EmulatedBS2_GC(volume, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
Load_FST(dolWii, volume);
|
||||||
|
dolLoader.Load();
|
||||||
|
PC = dolLoader.GetEntryPoint();
|
||||||
|
|
||||||
if (LoadMapFromFilename())
|
if (LoadMapFromFilename())
|
||||||
HLE::PatchFunctions();
|
HLE::PatchFunctions();
|
||||||
|
Loading…
Reference in New Issue
Block a user