diff options
author | RSDuck <rsduck@users.noreply.github.com> | 2020-04-26 16:17:16 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-06-16 11:59:08 +0200 |
commit | dc86bac83d865ebc1b9a520791b831f6799fe87c (patch) | |
tree | b438b13386fc8375127913413f0df32c3a98d0c3 /src | |
parent | c2dd6a186da3e7e705b970c1fcc6768d00dba08e (diff) |
hopefully fix stack handling for linux
Diffstat (limited to 'src')
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_Linkage.s | 4 |
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 |