mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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).
|
||||
std::memset(Memory::m_pEXRAM, 0, Memory::EXRAM_SIZE);
|
||||
// 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();
|
||||
Wiimote::ResetAllWiimotes();
|
||||
// Note: this is specific to Dolphin and is required because we initialised it in Wii mode.
|
||||
|
Loading…
Reference in New Issue
Block a user