diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/arm64/dynarec_arm64_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/arm64/dynarec_arm64_helper.c b/src/dynarec/arm64/dynarec_arm64_helper.c index c9fd9b3f..af0c595e 100644 --- a/src/dynarec/arm64/dynarec_arm64_helper.c +++ b/src/dynarec/arm64/dynarec_arm64_helper.c @@ -624,7 +624,7 @@ void ret_to_epilog(dynarec_arm_t* dyn, int ninst, rex_t rex) CBNZx(x6, 2*4); BLR(x2); // not the correct return address, regular jump, but purge the stack first, it's unsync now... - SUBx_U12(xSP, xSavedSP, 0); + SUBx_U12(xSP, xSavedSP, 16); } uintptr_t tbl = getJumpTable64(); NOTEST(x2); @@ -667,7 +667,7 @@ void retn_to_epilog(dynarec_arm_t* dyn, int ninst, rex_t rex, int n) CBNZx(x6, 2*4); BLR(x2); // not the correct return address, regular jump - SUBx_U12(xSP, xSavedSP, 0); + SUBx_U12(xSP, xSavedSP, 16); } uintptr_t tbl = getJumpTable64(); NOTEST(x2); |