mirror of
https://github.com/ptitSeb/box64.git
synced 2025-10-14 02:38:54 +08:00
[ARM64_DYNAREC] Don't assume x1 is xRIP in link_next (fix regression introduced with 685afa2302
)
This commit is contained in:
@@ -25,6 +25,7 @@ arm64_next:
|
||||
#ifdef _WIN32
|
||||
ldr x18, [x0, 3120]
|
||||
#endif
|
||||
mov x1, x27 // xRIP, should not be needed most of the time
|
||||
mov x2, x30 // "from" is in lr, so put in x2
|
||||
add x3, sp, 8*11 // x3 is address to change rip
|
||||
// call the function
|
||||
|
Reference in New Issue
Block a user