From b8c73c22265edec732f0535c4d13e2367c3205f4 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 9 Jun 2024 18:36:42 +1000 Subject: [PATCH] CPU: Enable exception logging --- src/core/cpu_core.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index e97d03fd8..949837897 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -318,7 +318,6 @@ ALWAYS_INLINE_RELEASE void CPU::RaiseException(u32 CAUSE_bits, u32 EPC, u32 vect g_state.cop0_regs.cause.bits = (g_state.cop0_regs.cause.bits & ~Cop0Registers::CAUSE::EXCEPTION_WRITE_MASK) | (CAUSE_bits & Cop0Registers::CAUSE::EXCEPTION_WRITE_MASK); -#ifdef _DEBUG if (g_state.cop0_regs.cause.Excode != Exception::INT && g_state.cop0_regs.cause.Excode != Exception::Syscall && g_state.cop0_regs.cause.Excode != Exception::BP) { @@ -335,7 +334,6 @@ ALWAYS_INLINE_RELEASE void CPU::RaiseException(u32 CAUSE_bits, u32 EPC, u32 vect g_state.cop0_regs.cause.BD ? "true" : "false", g_state.cop0_regs.cause.CE.GetValue()); } } -#endif if (g_state.cop0_regs.cause.BD) {