Merge pull request #9060 from Pokechu22/ignore-pi-reset-code
Ignore PI_RESET_CODE resetting DI in Wii mode
This commit is contained in:
commit
3d33b1c2c5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue