diff --git a/Source/Project64-core/N64System/Mips/Register.cpp b/Source/Project64-core/N64System/Mips/Register.cpp index b17cf694e..146d7fd04 100644 --- a/Source/Project64-core/N64System/Mips/Register.cpp +++ b/Source/Project64-core/N64System/Mips/Register.cpp @@ -783,7 +783,7 @@ void CRegisters::TriggerAddressException(uint64_t Address, uint32_t ExceptionCod { bool Dirty; SpecialOffset = !m_TLB.AddressDefined(Address, Dirty); - if (!Dirty) + if (ExceptionCode == EXC_WMISS && Dirty == false) { ExceptionCode = EXC_MOD; }