aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT_x64/ARMJIT_Linkage.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARMJIT_x64/ARMJIT_Linkage.s')
-rw-r--r--src/ARMJIT_x64/ARMJIT_Linkage.s4
1 files changed, 4 insertions, 0 deletions
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