From 8f9bd987e16641477d6b4e15a54dde66a9923f8a Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 19 Aug 2014 21:47:45 -0400 Subject: Fixed a chip8 bug Change-Id: Ia28610713461eb02e8911be7fa0d5ad8ec8ba7fe Reviewed-on: http://gerrit.rockbox.org/919 Reviewed-by: Frank Gevaerts --- apps/plugins/chip8.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 1616f622c0..36b0802cc6 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c @@ -1541,8 +1541,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_PLATFORM & PLATFORM_NATIVE) +#if (CONFIG_CODEC == HWCODEC) /* init sound */ is_playing = rb->mp3_is_playing(); /* would we disturb playback? */ if (!is_playing) /* no? then we can make sound */ -- cgit v1.2.3