mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 22:01:06 -06:00
hopefully fix stack handling for linux
This commit is contained in:
@ -44,6 +44,8 @@ ARM_Dispatch:
|
|||||||
|
|
||||||
#ifdef WIN64
|
#ifdef WIN64
|
||||||
sub rsp, 0x28
|
sub rsp, 0x28
|
||||||
|
#else
|
||||||
|
sub rsp, 0x8
|
||||||
#endif
|
#endif
|
||||||
mov RCPU, ARG1_REG64
|
mov RCPU, ARG1_REG64
|
||||||
mov RCPSR, [RCPU + ARM_CPSR_offset]
|
mov RCPSR, [RCPU + ARM_CPSR_offset]
|
||||||
@ -58,6 +60,8 @@ ARM_Ret:
|
|||||||
|
|
||||||
#ifdef WIN64
|
#ifdef WIN64
|
||||||
add rsp, 0x28
|
add rsp, 0x28
|
||||||
|
#else
|
||||||
|
add rsp, 0x8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pop rbp
|
pop rbp
|
||||||
|
Reference in New Issue
Block a user