Merge pull request #12257 from Wack0/patch-1

JIT64 (Jit_Integer): for twx instructions, raise exception with correct SRR0
This commit is contained in:
JosJuice 2023-11-01 21:10:39 +01:00 committed by GitHub
commit 13c70eeb31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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