Merge pull request #9060 from Pokechu22/ignore-pi-reset-code

Ignore PI_RESET_CODE resetting DI in Wii mode
This commit is contained in:
JMC47 2020-09-08 01:56:19 -04:00 committed by GitHub
commit 3d33b1c2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {
m_ResetCode = val;
INFO_LOG(PROCESSORINTERFACE, "Wrote PI_RESET_CODE: %08x", m_ResetCode);
if (~m_ResetCode & 0x4)
if (!SConfig::GetInstance().bWii && ~m_ResetCode & 0x4)
{
DVDInterface::ResetDrive(true);
}