Ignore PI_RESET_CODE resetting DI in Wii mode

Fixes bug 12241
This commit is contained in:
Pokechu22 2020-09-04 16:54:00 -07:00
parent db067104ed
commit 8142712c88
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
MMIO::ComplexWrite<u32>([](u32, u32 val) { MMIO::ComplexWrite<u32>([](u32, u32 val) {
m_ResetCode = val; m_ResetCode = val;
INFO_LOG(PROCESSORINTERFACE, "Wrote PI_RESET_CODE: %08x", m_ResetCode); INFO_LOG(PROCESSORINTERFACE, "Wrote PI_RESET_CODE: %08x", m_ResetCode);
if (~m_ResetCode & 0x4) if (!SConfig::GetInstance().bWii && ~m_ResetCode & 0x4)
{ {
DVDInterface::ResetDrive(true); DVDInterface::ResetDrive(true);
} }