summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */