mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #573 from Myrtle/master
[bugfix] saved ebp before ebx in order to fix #572
This commit is contained in:
commit
af0eda4fbe
|
@ -677,8 +677,8 @@ static int RCT2_CALLFUNC_X(int address, int *_eax, int *_ebx, int *_ecx, int *_e
|
|||
__asm__ ( "\
|
||||
\n\
|
||||
/* Store C's base pointer*/ \n\
|
||||
push ebx \n\
|
||||
push ebp \n\
|
||||
push ebx \n\
|
||||
\n\
|
||||
/* Store %[address] to call*/ \n\
|
||||
push %[address] \n\
|
||||
|
|
Loading…
Reference in New Issue