Fix launching DTK games with MIOS
This commit is contained in:
parent
d67c4f34d1
commit
ddba80133a
|
@ -34,7 +34,10 @@ static void ReinitHardware()
|
||||||
// IOS clears mem2 and overwrites it with pseudo-random data (for security).
|
// IOS clears mem2 and overwrites it with pseudo-random data (for security).
|
||||||
std::memset(Memory::m_pEXRAM, 0, Memory::EXRAM_SIZE);
|
std::memset(Memory::m_pEXRAM, 0, Memory::EXRAM_SIZE);
|
||||||
// MIOS appears to only reset the DI and the PPC.
|
// MIOS appears to only reset the DI and the PPC.
|
||||||
DVDInterface::Reset();
|
// HACK However, resetting DI will reset the DTK config, which is set by the system menu
|
||||||
|
// (and not by MIOS), causing games that use DTK to break. Perhaps MIOS doesn't actually
|
||||||
|
// reset DI fully, in such a way that the DTK config isn't cleared?
|
||||||
|
// DVDInterface::Reset();
|
||||||
PowerPC::Reset();
|
PowerPC::Reset();
|
||||||
Wiimote::ResetAllWiimotes();
|
Wiimote::ResetAllWiimotes();
|
||||||
// Note: this is specific to Dolphin and is required because we initialised it in Wii mode.
|
// Note: this is specific to Dolphin and is required because we initialised it in Wii mode.
|
||||||
|
|
Loading…
Reference in New Issue