Fixed copy/paste error in WOWCallback16Ex call (spotted by Dmitry

Timoshkov).
This commit is contained in:
Alexandre Julliard 2003-08-25 00:54:24 +00:00
parent 9adb6f2e3f
commit d631f30945
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ static void DPMI_CallRMCBProc( CONTEXT86 *context, RMCB *rmcb, WORD flag )
ctx.SegEs = rmcb->regs_sel;
ctx.Edi = rmcb->regs_ofs;
/* FIXME: I'm pretty sure this isn't right - should push flags first */
WOWCallback16Ex( 0, WCB16_REGS, 0, NULL, (DWORD *)&context );
WOWCallback16Ex( 0, WCB16_REGS, 0, NULL, (DWORD *)&ctx );
es = ctx.SegEs;
edi = ctx.Edi;
}