From 59c8d3976562ec3ed057f21116b76a3a532bc4d1 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Sun, 26 Apr 2020 16:17:16 +0200 Subject: hopefully fix stack handling for linux --- src/ARMJIT_x64/ARMJIT_Linkage.s | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ARMJIT_x64') diff --git a/src/ARMJIT_x64/ARMJIT_Linkage.s b/src/ARMJIT_x64/ARMJIT_Linkage.s index dbbb024..0a84df0 100644 --- a/src/ARMJIT_x64/ARMJIT_Linkage.s +++ b/src/ARMJIT_x64/ARMJIT_Linkage.s @@ -44,6 +44,8 @@ ARM_Dispatch: #ifdef WIN64 sub rsp, 0x28 +#else + sub rsp, 0x8 #endif mov RCPU, ARG1_REG64 mov RCPSR, [RCPU + ARM_CPSR_offset] @@ -58,6 +60,8 @@ ARM_Ret: #ifdef WIN64 add rsp, 0x28 +#else + add rsp, 0x8 #endif pop rbp -- cgit v1.2.3