Fix call_ebp_func, spotted by Thomas Faber

svn path=/trunk/; revision=52384
This commit is contained in:
Timo Kreuzer 2011-06-20 13:34:19 +00:00
parent d01040f370
commit 33486bb4d7

View file

@ -50,10 +50,11 @@ static inline void *call_ebp_func( void *func, void *_ebp )
#ifdef _MSC_VER
__asm
{
mov eax, func
push ebx
push ebp
mov ebp, _ebp
call func
call eax
pop ebp
pop ebx
mov result, eax