summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-01-03 13:20:42 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-01-03 13:20:42 +0000
commitb75b3e7557916a3fcb4c9337790ccaff61f224c4 (patch)
tree5c9dbe8dd4c5a5127b76b2d97e7e1cbb0dc2f886
parent92d287495900cbf23e1f7857bedf5feede2f4777 (diff)
downloadrockbox-b75b3e7557916a3fcb4c9337790ccaff61f224c4.tar.gz
rockbox-b75b3e7557916a3fcb4c9337790ccaff61f224c4.zip
Fix warning in chip8 plugin for simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24162 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/chip8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 9c4b09e163..4767898206 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1169,7 +1169,6 @@ static unsigned long cycles; /* Number of update cycles (50Hz) */
#ifndef SIMULATOR
static bool is_playing;
-#endif
/* one frame of bitswapped mp3 data */
static unsigned char beep[]={255,
@@ -1191,6 +1190,7 @@ static void callback(unsigned char** start, size_t* size)
*start = beep; /* give it the same frame again */
*size = sizeof(beep);
}
+#endif /* !SIMULATOR */
/****************************************************************************/
/* Turn sound on */