CPU/Recompiler: Preserve pending loads on memory exceptions

Include the pending load in exception flushes so RaiseException commits it before entering the handler on every backend.
This commit is contained in:
Stenzek
2026-10-10 14:38:39 +10:00
parent ffa848be04
commit e15d62dfd4
+1 -1
View File
@@ -129,7 +129,7 @@ protected:
FLUSH_FOR_LOADSTORE = (FLUSH_FREE_CALLER_SAVED_REGISTERS | FLUSH_CYCLES),
FLUSH_FOR_BRANCH = (FLUSH_FLUSH_MIPS_REGISTERS),
FLUSH_FOR_EXCEPTION =
(FLUSH_CYCLES | FLUSH_GTE_DONE_CYCLE), // GTE cycles needed because it stalls when a GTE instruction is next.
(FLUSH_CYCLES | FLUSH_GTE_DONE_CYCLE | FLUSH_LOAD_DELAY), // GTE cycles needed when a GTE instruction is next.
FLUSH_FOR_EARLY_BLOCK_EXIT =
(FLUSH_FLUSH_MIPS_REGISTERS | FLUSH_CYCLES | FLUSH_GTE_DONE_CYCLE | FLUSH_PC | FLUSH_LOAD_DELAY),
FLUSH_FOR_INTERPRETER = (FLUSH_FLUSH_MIPS_REGISTERS | FLUSH_INVALIDATE_MIPS_REGISTERS |