changeset 2031:f54073d86c82

Reenable mouse usage using xbios vectors under MiNT
author Patrice Mandin <patmandin@gmail.com>
date Wed, 20 Sep 2006 19:49:23 +0000
parents d774e9d7c2a8
children ddf89133aebc
files src/video/ataricommon/SDL_biosevents.c src/video/ataricommon/SDL_gemdosevents.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }