Mercurial > sdl-ios-xcode
diff src/video/ipod/SDL_ipodvideo.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | e27bdcc80744 |
children | cf95a2fd3606 |
line wrap: on
line diff
--- a/src/video/ipod/SDL_ipodvideo.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/video/ipod/SDL_ipodvideo.c Wed Aug 27 04:23:38 2008 +0000 @@ -682,6 +682,7 @@ } while (C_timer_check(start, 1000) == 0); } } + static void C_lcd_cmd_data(int cmd, int data) { @@ -776,11 +777,13 @@ ~(3 << (2 * (x % 4))); ipod_scr[y * (lcd_width / 4) + x / 4] |= (((Uint8 *) (SDL_VideoSurface->pixels))[y * - SDL_VideoSurface-> - pitch + SDL_VideoSurface->pitch + - x] & - 3) << (2 * (x % 4)); + x] & 3) << (2 + * + (x + % + 4)); } } }