Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12257 from Wack0/patch-1
JIT64 (Jit_Integer): for twx instructions, raise exception with correct SRR0
  • Loading branch information
JosJuice committed Nov 1, 2023
2 parents 17122f1 + c9cd0b6 commit 13c70ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp
Expand Up @@ -2752,6 +2752,7 @@ void Jit64::twX(UGeckoInstruction inst)
gpr.Flush();
fpr.Flush();

MOV(32, PPCSTATE(pc), Imm32(js.compilerPC));
WriteExceptionExit();

SwitchToNearCode();
Expand Down

0 comments on commit 13c70ee

Please sign in to comment.