src/video/ataricommon/SDL_biosevents.c
changeset 2043 adf732f1f016
parent 2033 b657f0bc72c2
child 2859 99210400e8b9
     1.1 --- a/src/video/ataricommon/SDL_biosevents.c	Sun Sep 24 15:56:36 2006 +0000
     1.2 +++ b/src/video/ataricommon/SDL_biosevents.c	Sun Sep 24 15:56:55 2006 +0000
     1.3 @@ -61,8 +61,8 @@
     1.4          vectors_mask |= ATARI_XBIOS_MOUSEEVENTS;        /* XBIOS mouse events */
     1.5      }
     1.6      /*if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
     1.7 -        vectors_mask = 0;
     1.8 -    }*/
     1.9 +       vectors_mask = 0;
    1.10 +       } */
    1.11  
    1.12      SDL_AtariXbios_InstallVectors(vectors_mask);
    1.13  }
    1.14 @@ -78,8 +78,9 @@
    1.15  
    1.16      while (Bconstat(_CON)) {
    1.17          unsigned long key_pressed;
    1.18 -        key_pressed=Bconin(_CON);
    1.19 -        bios_currentkeyboard[(key_pressed>>16)&(ATARIBIOS_MAXKEYS-1)]=0xFF;
    1.20 +        key_pressed = Bconin(_CON);
    1.21 +        bios_currentkeyboard[(key_pressed >> 16) & (ATARIBIOS_MAXKEYS - 1)] =
    1.22 +            0xFF;
    1.23      }
    1.24  
    1.25      /* Read special keys */
    1.26 @@ -95,7 +96,8 @@
    1.27          /* Key unpressed ? */
    1.28          if (bios_previouskeyboard[i] && !bios_currentkeyboard[i])
    1.29              SDL_PrivateKeyboard(SDL_RELEASED,
    1.30 -                                SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
    1.31 +                                SDL_Atari_TranslateKey(i, &keysym,
    1.32 +                                                       SDL_FALSE));
    1.33      }
    1.34  
    1.35      if (use_dev_mouse) {