mirror of
https://github.com/reactos/wine.git
synced 2025-02-13 08:44:54 +00:00
rpcrt4: Fix the MSVC version of call_server_func.
Fix the MSVC version of call_server_func to pop the registers in the same order they were pushed.
This commit is contained in:
parent
75cd5e2101
commit
a674ec0fda
@ -936,9 +936,9 @@ __declspec(naked) LONG_PTR __cdecl call_server_func(SERVER_ROUTINE func, unsigne
|
||||
rep movsd ; Copy dword blocks
|
||||
call [ebp+8] ; Call function
|
||||
lea esp, [ebp-8] ; Restore stack
|
||||
pop ebp ; Restore registers
|
||||
pop esi
|
||||
pop esi ; Restore registers
|
||||
pop edi
|
||||
pop ebp
|
||||
ret
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user