mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[CRT]
Fix call_ebp_func, spotted by Thomas Faber svn path=/trunk/; revision=52384
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user