src/video/ps2gs/SDL_gsvideo.h
changeset 1895 c121d94672cb
parent 1402 d910939febfa
child 2859 99210400e8b9
     1.1 --- a/src/video/ps2gs/SDL_gsvideo.h	Thu Jul 06 18:01:37 2006 +0000
     1.2 +++ b/src/video/ps2gs/SDL_gsvideo.h	Mon Jul 10 21:04:37 2006 +0000
     1.3 @@ -38,34 +38,35 @@
     1.4  
     1.5  
     1.6  /* Private display data */
     1.7 -struct SDL_PrivateVideoData {
     1.8 -	/* Gotta love that simple PS2 graphics interface. :) */
     1.9 -	int console_fd;
    1.10 -	int memory_fd;
    1.11 -	struct ps2_screeninfo saved_vinfo;
    1.12 +struct SDL_PrivateVideoData
    1.13 +{
    1.14 +    /* Gotta love that simple PS2 graphics interface. :) */
    1.15 +    int console_fd;
    1.16 +    int memory_fd;
    1.17 +    struct ps2_screeninfo saved_vinfo;
    1.18  
    1.19 -	/* Ye olde linux keyboard code */
    1.20 -	int current_vt;
    1.21 -	int saved_vt;
    1.22 -	int keyboard_fd;
    1.23 -	int saved_kbd_mode;
    1.24 -	struct termios saved_kbd_termios;
    1.25 +    /* Ye olde linux keyboard code */
    1.26 +    int current_vt;
    1.27 +    int saved_vt;
    1.28 +    int keyboard_fd;
    1.29 +    int saved_kbd_mode;
    1.30 +    struct termios saved_kbd_termios;
    1.31  
    1.32 -	/* Ye olde linux mouse code */
    1.33 -	int mouse_fd;
    1.34 -	int cursor_drawn;
    1.35 +    /* Ye olde linux mouse code */
    1.36 +    int mouse_fd;
    1.37 +    int cursor_drawn;
    1.38  
    1.39 -	/* The memory mapped DMA area and associated variables */
    1.40 -	caddr_t mapped_mem;
    1.41 -	int pixels_len;
    1.42 -	int mapped_len;
    1.43 -	struct ps2_image screen_image;
    1.44 -	int screen_image_size;
    1.45 -	unsigned long long *head_tags_mem;
    1.46 -	unsigned long long *image_tags_mem;
    1.47 -	unsigned long long *tex_tags_mem;
    1.48 -	unsigned long long *scale_tags_mem;
    1.49 -	int dma_pending;
    1.50 +    /* The memory mapped DMA area and associated variables */
    1.51 +    caddr_t mapped_mem;
    1.52 +    int pixels_len;
    1.53 +    int mapped_len;
    1.54 +    struct ps2_image screen_image;
    1.55 +    int screen_image_size;
    1.56 +    unsigned long long *head_tags_mem;
    1.57 +    unsigned long long *image_tags_mem;
    1.58 +    unsigned long long *tex_tags_mem;
    1.59 +    unsigned long long *scale_tags_mem;
    1.60 +    int dma_pending;
    1.61  };
    1.62  /* Old variable names */
    1.63  #define console_fd		(this->hidden->console_fd)
    1.64 @@ -91,5 +92,7 @@
    1.65  
    1.66  /* Shared between the mouse and video code for screen update scaling */
    1.67  extern int scaleimage_nonblock(int fd,
    1.68 -                               unsigned long long *tm, unsigned long long *sm);
    1.69 +                               unsigned long long *tm,
    1.70 +                               unsigned long long *sm);
    1.71  #endif /* _SDL_gsvideo_h */
    1.72 +/* vi: set ts=4 sw=4 expandtab: */