mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Boot: Split out some code to a new function SetupGCMemory
Just like the existing function SetupWiiMemory.
This commit is contained in:
@ -324,18 +324,19 @@ bool CBoot::BootUp(std::unique_ptr<BootParameters> boot)
|
||||
|
||||
SetDefaultDisc();
|
||||
|
||||
SetupMSR();
|
||||
SetupBAT(config.bWii);
|
||||
|
||||
if (config.bWii)
|
||||
{
|
||||
HID4.SBE = 1;
|
||||
SetupMSR();
|
||||
SetupBAT(config.bWii);
|
||||
// Because there is no TMD to get the requested system (IOS) version from,
|
||||
// we default to IOS58, which is the version used by the Homebrew Channel.
|
||||
SetupWiiMemory(nullptr, 0x000000010000003a);
|
||||
}
|
||||
else
|
||||
{
|
||||
EmulatedBS2_GC(nullptr, true);
|
||||
SetupGCMemory();
|
||||
}
|
||||
|
||||
PC = executable.reader->GetEntryPoint();
|
||||
|
Reference in New Issue
Block a user