diff src/audio/nto/SDL_nto_audio.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/nto/SDL_nto_audio.c	Wed Apr 23 06:27:10 2008 +0000
+++ b/src/audio/nto/SDL_nto_audio.c	Tue Jun 10 06:45:39 2008 +0000
@@ -154,8 +154,7 @@
             }
             break;
         }
-    }
-    while (1);
+    } while (1);
 }
 
 static void
@@ -213,8 +212,7 @@
             towrite -= written;
             pcmbuffer += written * this->spec.channels;
         }
-    }
-    while ((towrite > 0) && (this->enabled));
+    } while ((towrite > 0) && (this->enabled));
 
     /* If we couldn't write, assume fatal error for now */
     if (towrite != 0) {