Commit 23503179 authored by Jukka Heinonen's avatar Jukka Heinonen Committed by Alexandre Julliard

When entering protected mode, V86 flag must be clear.

parent 71a71b30
...@@ -592,6 +592,7 @@ static void StartPM( CONTEXT86 *context ) ...@@ -592,6 +592,7 @@ static void StartPM( CONTEXT86 *context )
pm_ctx.SegEs = es; pm_ctx.SegEs = es;
pm_ctx.SegFs = 0; pm_ctx.SegFs = 0;
pm_ctx.SegGs = 0; pm_ctx.SegGs = 0;
pm_ctx.EFlags &= ~V86_FLAG;
TRACE("DOS program is now entering %d-bit protected mode\n", TRACE("DOS program is now entering %d-bit protected mode\n",
DOSVM_IsDos32() ? 32 : 16); DOSVM_IsDos32() ? 32 : 16);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment