summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2014-08-23 00:39:20 +0200
committerFrank Gevaerts <frank@gevaerts.be>2014-08-23 00:39:20 +0200
commit1bc89bde8c2565600ab252c804a974129c4cb514 (patch)
tree5ac779f1df0da096c37cddc0aa549f8230d286d3 /apps/plugins/chip8.c
parente1c09cd5bdb450de5410d52e80f4c4225c5332f1 (diff)
downloadrockbox-1bc89bde8c2565600ab252c804a974129c4cb514.tar.gz
rockbox-1bc89bde8c2565600ab252c804a974129c4cb514.zip
One last missing !defined(SIMULATOR) for chip8
Change-Id: Iab2d9150126f6c611604469d105186b936825012
Diffstat (limited to 'apps/plugins/chip8.c')
-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 43dd7f933e..d1a8285ace 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1540,7 +1540,7 @@ static bool chip8_run(const char* file)
rb->lcd_drawrect(CHIP8_X-1,CHIP8_Y-1,CHIP8_LCDWIDTH+2,CHIP8_HEIGHT+2);
#endif
rb->lcd_update();
-#if (CONFIG_CODEC != SWCODEC)
+#if (CONFIG_CODEC != SWCODEC) && !defined(SIMULATOR)
/* init sound */
is_playing = rb->mp3_is_playing(); /* would we disturb playback? */
if (!is_playing) /* no? then we can make sound */