Mercurial > sdl-ios-xcode
diff src/video/ipod/SDL_ipodvideo.c @ 2669:e27bdcc80744 gsoc2008_nds
First commit. Added header configs for DS as well as a Makefile. Initial work on framebuffer video driver, currently not functioning as desired.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Tue, 10 Jun 2008 06:45:39 +0000 |
parents | c121d94672cb |
children | e1da92da346c |
line wrap: on
line diff
--- a/src/video/ipod/SDL_ipodvideo.c Wed Apr 23 06:27:10 2008 +0000 +++ b/src/video/ipod/SDL_ipodvideo.c Tue Jun 10 06:45:39 2008 +0000 @@ -526,8 +526,7 @@ } if (dbgout) fprintf(dbgout, "\n"); - } - while (posted); + } while (posted); } // enough space for 160x128x2 @@ -570,8 +569,7 @@ do { if ((inl(lcd_base) & (unsigned int) 0x8000) == 0) break; - } - while (M_timer_check(start, 1000) == 0); + } while (M_timer_check(start, 1000) == 0); } } @@ -681,8 +679,7 @@ do { if ((inl(0x70008A0C) & 0x80000000) == 0) break; - } - while (C_timer_check(start, 1000) == 0); + } while (C_timer_check(start, 1000) == 0); } } static void