Fixed function 0xb.

This commit is contained in:
Nog 2002-01-31 21:47:57 +00:00 committed by Alexandre Julliard
parent 5038c04efd
commit 867a874375
1 changed files with 4 additions and 5 deletions

View File

@ -121,12 +121,11 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
case 0x0b: /* GET STDIN STATUS */
{
char x1,x2;
if (CONSOLE_CheckForKeystroke(&x1,&x2))
AL_reg(context) = 0xff;
else
BIOSDATA *data = DOSMEM_BiosData();
if(data->FirstKbdCharPtr == data->NextKbdCharPtr)
AL_reg(context) = 0;
else
AL_reg(context) = 0xff;
}
break;