Reenable mouse usage using xbios vectors under MiNT
authorPatrice Mandin <patmandin@gmail.com>
Wed, 20 Sep 2006 19:49:23 +0000
changeset 2031f54073d86c82
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
     1.1 --- a/src/video/ataricommon/SDL_biosevents.c	Wed Sep 20 19:47:09 2006 +0000
     1.2 +++ b/src/video/ataricommon/SDL_biosevents.c	Wed Sep 20 19:49:23 2006 +0000
     1.3 @@ -60,9 +60,9 @@
     1.4      if (!use_dev_mouse) {
     1.5          vectors_mask |= ATARI_XBIOS_MOUSEEVENTS;        /* XBIOS mouse events */
     1.6      }
     1.7 -    if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
     1.8 +    /*if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
     1.9          vectors_mask = 0;
    1.10 -    }
    1.11 +    }*/
    1.12  
    1.13      SDL_AtariXbios_InstallVectors(vectors_mask);
    1.14  }
     2.1 --- a/src/video/ataricommon/SDL_gemdosevents.c	Wed Sep 20 19:47:09 2006 +0000
     2.2 +++ b/src/video/ataricommon/SDL_gemdosevents.c	Wed Sep 20 19:49:23 2006 +0000
     2.3 @@ -67,9 +67,10 @@
     2.4      if (!use_dev_mouse) {
     2.5          vectors_mask |= ATARI_XBIOS_MOUSEEVENTS;        /* XBIOS mouse events */
     2.6      }
     2.7 -    if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
     2.8 +    /*if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
     2.9          vectors_mask = 0;
    2.10 -    }
    2.11 +    }*/
    2.12 +
    2.13      SDL_AtariXbios_InstallVectors(vectors_mask);
    2.14  }
    2.15