Fix for my keyboard problems
Nog
nog at sdf.lonestar.org
Thu Jan 31 11:58:49 CST 2002
Hi,
With this patch Monkey Island 2 finaly accepts keyboard input. This
also fixes the keyboard input for Railroad Tycoon which equally didn't
work.
Changelog:
* dlls/winedos/int21.c
Fix function 0xb
nog.
-------------- next part --------------
Index: dlls/winedos/int21.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/int21.c,v
retrieving revision 1.2
diff -u -r1.2 int21.c
--- dlls/winedos/int21.c 2002/01/29 17:55:22 1.2
+++ dlls/winedos/int21.c 2002/01/31 16:11:57
@@ -121,12 +121,11 @@
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;
More information about the wine-patches
mailing list