From 23503179dce29e08fb9c9892ae76f82fe5e8c3cb Mon Sep 17 00:00:00 2001 From: Jukka Heinonen Date: Mon, 22 Sep 2003 19:32:03 +0000 Subject: [PATCH] When entering protected mode, V86 flag must be clear. --- dlls/winedos/int31.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winedos/int31.c b/dlls/winedos/int31.c index c03add7d75f..c39f424a971 100644 --- a/dlls/winedos/int31.c +++ b/dlls/winedos/int31.c @@ -592,6 +592,7 @@ static void StartPM( CONTEXT86 *context ) pm_ctx.SegEs = es; pm_ctx.SegFs = 0; pm_ctx.SegGs = 0; + pm_ctx.EFlags &= ~V86_FLAG; TRACE("DOS program is now entering %d-bit protected mode\n", DOSVM_IsDos32() ? 32 : 16);