mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[CRT]
Fix call_ebp_func, spotted by Thomas Faber svn path=/trunk/; revision=52384
This commit is contained in:
parent
d01040f370
commit
33486bb4d7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue