When entering protected mode, V86 flag must be clear.

This commit is contained in:
Jukka Heinonen 2003-09-22 19:32:03 +00:00 committed by Alexandre Julliard
parent 71a71b301d
commit 23503179dc
1 changed files with 1 additions and 0 deletions

View File

@ -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);