CPU/Interpreter: Load delay check should be a debug assertion

This commit is contained in:
Connor McLaughlin 2021-07-24 13:04:54 +10:00
parent 6081e2415f
commit 53299e3c7b

View file

@ -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;