From 53299e3c7b5ea950057f0440ce341c1a1a48b783 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 24 Jul 2021 13:04:54 +1000 Subject: [PATCH] CPU/Interpreter: Load delay check should be a debug assertion --- src/core/cpu_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index 826c3c50d..ce0867e62 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -362,7 +362,7 @@ ALWAYS_INLINE static void WriteReg(Reg rd, u32 value) ALWAYS_INLINE_RELEASE static void WriteRegDelayed(Reg rd, u32 value) { - Assert(g_state.next_load_delay_reg == Reg::count); + DebugAssert(g_state.next_load_delay_reg == Reg::count); if (rd == Reg::zero) return;