JIT64: for twx instruction, raise exception with correct SRR0

This commit is contained in:
Rairii 2023-10-27 13:27:36 +01:00 committed by GitHub
parent 3454bc4c3c
commit c9cd0b626b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2752,6 +2752,7 @@ void Jit64::twX(UGeckoInstruction inst)
gpr.Flush();
fpr.Flush();
MOV(32, PPCSTATE(pc), Imm32(js.compilerPC));
WriteExceptionExit();
SwitchToNearCode();