diff src/audio/esd/SDL_esdaudio.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 866052b01ee5
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/esd/SDL_esdaudio.c	Wed Apr 23 06:27:10 2008 +0000
+++ b/src/audio/esd/SDL_esdaudio.c	Tue Jun 10 06:45:39 2008 +0000
@@ -154,9 +154,8 @@
         if ((written < 0) && ((errno == 0) || (errno == EAGAIN))) {
             SDL_Delay(1);       /* Let a little CPU time go by */
         }
-    }
-    while ((written < 0) &&
-           ((errno == 0) || (errno == EAGAIN) || (errno == EINTR)));
+    } while ((written < 0) &&
+             ((errno == 0) || (errno == EAGAIN) || (errno == EINTR)));
 
     /* Set the next write frame */
     this->hidden->next_frame += this->hidden->frame_ticks;