From ddba80133a1a2f0c82d23c10197aa23cfb6f0066 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 13 Jan 2020 19:48:46 -0800 Subject: [PATCH] Fix launching DTK games with MIOS --- Source/Core/Core/IOS/MIOS.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/MIOS.cpp b/Source/Core/Core/IOS/MIOS.cpp index d7de03d494..e5bb987ea5 100644 --- a/Source/Core/Core/IOS/MIOS.cpp +++ b/Source/Core/Core/IOS/MIOS.cpp @@ -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.