Make sure we wait some time during int16 keyboard query call.

This commit is contained in:
Andreas Mohr 2002-07-03 01:13:34 +00:00 committed by Alexandre Julliard
parent 5ab5c4991c
commit 45f5f5dabb

View file

@ -71,6 +71,9 @@ void WINAPI DOSVM_Int16Handler( CONTEXT86 *context )
{
RESET_ZFLAG(context);
}
/* don't miss the opportunity to break some tight timing loop in DOS
* programs causing 100% CPU usage (by doing a Sleep here) */
Sleep(5);
break;
case 0x02: /* Get Shift Flags */