Reenable mouse usage using xbios vectors under MiNT
authorPatrice Mandin <patmandin@gmail.com>
Wed, 20 Sep 2006 19:49:23 +0000
changeset 2031 f54073d86c82
parent 2030 d774e9d7c2a8
child 2032 ddf89133aebc
Reenable mouse usage using xbios vectors under MiNT
src/video/ataricommon/SDL_biosevents.c
src/video/ataricommon/SDL_gemdosevents.c
--- a/src/video/ataricommon/SDL_biosevents.c	Wed Sep 20 19:47:09 2006 +0000
+++ b/src/video/ataricommon/SDL_biosevents.c	Wed Sep 20 19:49:23 2006 +0000
@@ -60,9 +60,9 @@
     if (!use_dev_mouse) {
         vectors_mask |= ATARI_XBIOS_MOUSEEVENTS;        /* XBIOS mouse events */
     }
-    if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
+    /*if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
         vectors_mask = 0;
-    }
+    }*/
 
     SDL_AtariXbios_InstallVectors(vectors_mask);
 }
--- a/src/video/ataricommon/SDL_gemdosevents.c	Wed Sep 20 19:47:09 2006 +0000
+++ b/src/video/ataricommon/SDL_gemdosevents.c	Wed Sep 20 19:49:23 2006 +0000
@@ -67,9 +67,10 @@
     if (!use_dev_mouse) {
         vectors_mask |= ATARI_XBIOS_MOUSEEVENTS;        /* XBIOS mouse events */
     }
-    if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
+    /*if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
         vectors_mask = 0;
-    }
+    }*/
+
     SDL_AtariXbios_InstallVectors(vectors_mask);
 }