diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-03 13:20:42 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-03 13:20:42 +0000 |
commit | b75b3e7557916a3fcb4c9337790ccaff61f224c4 (patch) | |
tree | 5c9dbe8dd4c5a5127b76b2d97e7e1cbb0dc2f886 /apps/plugins | |
parent | 92d287495900cbf23e1f7857bedf5feede2f4777 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/chip8.c | 2 |
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) */ | |||
1169 | 1169 | ||
1170 | #ifndef SIMULATOR | 1170 | #ifndef SIMULATOR |
1171 | static bool is_playing; | 1171 | static bool is_playing; |
1172 | #endif | ||
1173 | 1172 | ||
1174 | /* one frame of bitswapped mp3 data */ | 1173 | /* one frame of bitswapped mp3 data */ |
1175 | static unsigned char beep[]={255, | 1174 | static unsigned char beep[]={255, |
@@ -1191,6 +1190,7 @@ static void callback(unsigned char** start, size_t* size) | |||
1191 | *start = beep; /* give it the same frame again */ | 1190 | *start = beep; /* give it the same frame again */ |
1192 | *size = sizeof(beep); | 1191 | *size = sizeof(beep); |
1193 | } | 1192 | } |
1193 | #endif /* !SIMULATOR */ | ||
1194 | 1194 | ||
1195 | /****************************************************************************/ | 1195 | /****************************************************************************/ |
1196 | /* Turn sound on */ | 1196 | /* Turn sound on */ |