mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 15:00:17 +02:00
Fix syscall regression
This commit is contained in:
1 parent
ac6be77592
commit
b03dc847f5
1 file changed
+4
@@ -108,11 +108,15 @@ ExitFunctionSuspendPoint:
|
||||
Name:; \
|
||||
adrp x16, WineSyscallDispatcher; \
|
||||
ldr x16, [x16, HASH:lo12:WineSyscallDispatcher]; \
|
||||
cbz x16, 1f; \
|
||||
mov x9, x30; \
|
||||
adrp x8, WineIdName; \
|
||||
ldr x8, [x8, HASH:lo12:WineIdName]; \
|
||||
blr x16; \
|
||||
ret; \
|
||||
1:; \
|
||||
svc HASH WindowsId; \
|
||||
ret
|
||||
|
||||
// Allows for continuing from a full native context, as the NTDLL NtContinue export takes in an x64 context with EC and
|
||||
// the conversion to that loses the ARM64EC ABI-disallowed registers that FEX uses.
|
||||
|
||||
Reference in new issue
Block a user