mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
CPU/Interpreter: Load delay check should be a debug assertion
This commit is contained in:
parent
6081e2415f
commit
53299e3c7b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue