diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index 0c8f12c045..96baaa9e05 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -335,6 +335,13 @@ bool CBoot::BootUp(std::unique_ptr boot) if (config.bWii) { + PowerPC::ppcState.spr[SPR_HID0] = 0x0011c464; + PowerPC::ppcState.spr[SPR_HID4] = 0x82000000; + + // Set a value for the SP. It doesn't matter where this points to, + // as long as it is a valid location. This value is taken from a homebrew binary. + PowerPC::ppcState.gpr[1] = 0x8004d4bc; + // 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();