From b75b3e7557916a3fcb4c9337790ccaff61f224c4 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 3 Jan 2010 13:20:42 +0000 Subject: Fix warning in chip8 plugin for simulator builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24162 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chip8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3