summaryrefslogtreecommitdiff
path: root/emulators/arcem/patches/patch-ab
blob: 5bac55b5ee828470200c11eb9a5767e8790af71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ab,v 1.2 2004/12/03 15:15:23 skrll Exp $

--- X/DispKbd.c.orig	2002-05-05 23:09:39.000000000 +0100
+++ X/DispKbd.c
@@ -45,7 +45,9 @@
 #define HD HOSTDISPLAY
 #define DC DISPLAYCONTROL
 
+#if 0
 static unsigned AutoKey(ARMul_State *state);
+#endif
 
 static struct EventNode enodes[4];
 //static int autokeyenode=0; /* Flips between 0 and 1 */
@@ -87,12 +89,14 @@ static unsigned long get_pixelval(unsign
 } /* get_pixval */
 
 /*----------------------------------------------------------------------------*/
+#if 0
 static unsigned AutoKey(ARMul_State *state) {
   /*fprintf(stderr,"AutoKey!\n"); */
   KBD.TimerIntHasHappened+=2;
 
   return 0;
 };
+#endif
 /*-----------------------------------------------------------------------------*/
 /* I'm not confident that this is completely correct - if it's wrong all hell
   is bound to break loose! If it works however it should speed things up