Mercurial > sdl-ios-xcode
comparison src/video/xbios/SDL_xbios_blowup.c @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
comparison
equal
deleted
inserted
replaced
1667:1fddae038bc8 | 1668:4da1ee79c9af |
---|---|
31 | 31 |
32 #include "SDL_xbios.h" | 32 #include "SDL_xbios.h" |
33 #include "SDL_xbios_blowup.h" | 33 #include "SDL_xbios_blowup.h" |
34 | 34 |
35 void | 35 void |
36 SDL_XBIOS_BlowupInit (_THIS, blow_cookie_t * cookie_blow) | 36 SDL_XBIOS_BlowupInit(_THIS, blow_cookie_t * cookie_blow) |
37 { | 37 { |
38 int i, num_mode, bank; | 38 int i, num_mode, bank; |
39 blow_mode_t *blow_mode; | 39 blow_mode_t *blow_mode; |
40 | 40 |
41 /* Add bit 15 for old modes */ | 41 /* Add bit 15 for old modes */ |
55 || ((blow_mode->monitor == MONITOR_TV) | 55 || ((blow_mode->monitor == MONITOR_TV) |
56 && (cookie_blow->montype == MONITOR_RGB)) | 56 && (cookie_blow->montype == MONITOR_RGB)) |
57 || ((blow_mode->monitor == MONITOR_RGB) | 57 || ((blow_mode->monitor == MONITOR_RGB) |
58 && (cookie_blow->montype == MONITOR_TV))) { | 58 && (cookie_blow->montype == MONITOR_TV))) { |
59 /* we can use this extended mode */ | 59 /* we can use this extended mode */ |
60 SDL_XBIOS_AddMode (this, | 60 SDL_XBIOS_AddMode(this, |
61 num_mode == 3 ? BPS8 : BPS16, | 61 num_mode == 3 ? BPS8 : BPS16, |
62 blow_mode->width + 1, | 62 blow_mode->width + 1, |
63 blow_mode->height + 1, | 63 blow_mode->height + 1, |
64 num_mode == 3 ? 8 : 16, SDL_FALSE); | 64 num_mode == 3 ? 8 : 16, SDL_FALSE); |
65 } | 65 } |
66 } | 66 } |
67 } | 67 } |
68 } | 68 } |
69 | 69 |