diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index 4653fa0b2..3f4f6701e 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -874,7 +874,7 @@ void Core::ExecuteInstruction() if (denom == 0) { // divide by zero - m_regs.lo = (num >= 0) ? UINT32_C(0xFFFFFFFF) : UINT32_C(1); + m_regs.lo = UINT32_C(0xFFFFFFFF); m_regs.hi = static_cast(num); } else