Fix last quirkssim-target-tree
authorThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sat, 15 May 2010 20:50:44 +0000 (15 22:50 +0200)
committerThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sat, 15 May 2010 20:50:44 +0000 (15 22:50 +0200)
firmware/target/hosted/sdl/lcd-charcells.c
firmware/target/hosted/sdl/lcd-remote-bitmap.c
firmware/target/hosted/sdl/pcm-sdl.c

index 8b73ff7..900cbb0 100644 (file)
  *
  ****************************************************************************/
 
+#include <string.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include "system.h"
 #include "debug.h"
 #include "lcd.h"
 #include "lcd-charcell.h"
 #include "screendump.h"
 #include "general.h"
-#include <string.h>
-#include <unistd.h>
-#include <fcntl.h>
 
 #include "lcd-playersim.h"
 #include "sim-ui-defines.h"
index 30811cf..9972f3e 100644 (file)
@@ -23,6 +23,7 @@
 #include "lcd-sdl.h"
 #include "lcd-remote-bitmap.h"
 #include "screendump.h"
+#include "system.h" /* background */
 
 SDL_Surface *remote_surface = 0;
 
index 6ca889b..1772db9 100644 (file)
@@ -124,7 +124,6 @@ size_t pcm_get_bytes_waiting(void)
     return pcm_data_size;
 }
 
-extern int sim_volume; /* in firmware/sound.c */
 void write_to_soundcard(struct pcm_udata *udata)
 {
 #ifdef DEBUG