Fixed stack offset in relay debugging of cdecl register functions.
This commit is contained in:
parent
b0f586178a
commit
6a9325d054
|
@ -336,7 +336,8 @@ void WINAPI RELAY_DoCallFrom32Regs( CONTEXT86 *context )
|
|||
/* remove extra stuff from the stack */
|
||||
context->Eip = stack32_pop(context);
|
||||
args = (int *)context->Esp;
|
||||
context->Esp += 4 * nb_args;
|
||||
if (relay->ret == 0xc2) /* stdcall */
|
||||
context->Esp += nb_args * sizeof(int);
|
||||
|
||||
assert(TRACE_ON(relay));
|
||||
|
||||
|
|
Loading…
Reference in New Issue