comparison src/video/xbios/SDL_xbiosmodes.c @ 2698:e1da92da346c gsoc2008_nds

Clean up.
author Darren Alton <dalton@stevens.edu>
date Wed, 27 Aug 2008 04:23:38 +0000
parents 2c835d58faad
children 99210400e8b9
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
275 i < sizeof(falcon_rgb_modes) / sizeof(xbios_mode_t); 275 i < sizeof(falcon_rgb_modes) / sizeof(xbios_mode_t);
276 i++) { 276 i++) {
277 SDL_XBIOS_AddMode(_this, falcon_rgb_modes[i].width, 277 SDL_XBIOS_AddMode(_this, falcon_rgb_modes[i].width,
278 falcon_rgb_modes[i].height, 278 falcon_rgb_modes[i].height,
279 falcon_rgb_modes[i].bpp, 279 falcon_rgb_modes[i].bpp,
280 falcon_rgb_modes[i]. 280 falcon_rgb_modes[i].modecode &
281 modecode & modecodemask, SDL_FALSE); 281 modecodemask, SDL_FALSE);
282 } 282 }
283 break; 283 break;
284 case MONITOR_VGA: 284 case MONITOR_VGA:
285 for (i = 0; 285 for (i = 0;
286 i < sizeof(falcon_vga_modes) / sizeof(xbios_mode_t); 286 i < sizeof(falcon_vga_modes) / sizeof(xbios_mode_t);
287 i++) { 287 i++) {
288 SDL_XBIOS_AddMode(_this, falcon_vga_modes[i].width, 288 SDL_XBIOS_AddMode(_this, falcon_vga_modes[i].width,
289 falcon_vga_modes[i].height, 289 falcon_vga_modes[i].height,
290 falcon_vga_modes[i].bpp, 290 falcon_vga_modes[i].bpp,
291 falcon_vga_modes[i]. 291 falcon_vga_modes[i].modecode &
292 modecode & modecodemask, SDL_FALSE); 292 modecodemask, SDL_FALSE);
293 } 293 }
294 break; 294 break;
295 } 295 }
296 } 296 }
297 break; 297 break;