[PATCH] krnl386.exe16: Check for pending DPMI events in call16_handler().

Alexandre Julliard julliard at winehq.org
Mon Dec 4 05:44:51 CST 2017


Zebediah Figura <z.figura12 at gmail.com> writes:

> -    /* Check for pending events. */
> -
> -    output( "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n", VM86_PENDING_OFFSET );
> -    output( "\tje %s\n", asm_name("DPMI_PendingEventCheck_Cleanup") );
> -    output( "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n", DPMI_VIF_OFFSET );
> -    output( "\tje %s\n", asm_name("DPMI_PendingEventCheck_Cleanup") );

This doesn't seem right. Are you sure it's safe to remove these checks?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list