Merge pull request #573 from Myrtle/master

[bugfix] saved ebp before ebx in order to fix #572
This commit is contained in:
Ted John 2014-11-19 21:20:54 +00:00
commit af0eda4fbe
1 changed files with 1 additions and 1 deletions

View File

@ -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\