Commit 45f5f5da authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

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

parent 5ab5c499
...@@ -71,6 +71,9 @@ void WINAPI DOSVM_Int16Handler( CONTEXT86 *context ) ...@@ -71,6 +71,9 @@ void WINAPI DOSVM_Int16Handler( CONTEXT86 *context )
{ {
RESET_ZFLAG(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; break;
case 0x02: /* Get Shift Flags */ case 0x02: /* Get Shift Flags */
......
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