diff options
author | Franklin Wei <frankhwei536@gmail.com> | 2014-08-19 21:47:45 -0400 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2014-08-22 23:36:26 +0200 |
commit | 8f9bd987e16641477d6b4e15a54dde66a9923f8a (patch) | |
tree | 935675647cc4e1281562bb62894fcec88c42c85c /apps | |
parent | 5fb370267f81a8429a76f0237767804b849d1f81 (diff) | |
download | rockbox-8f9bd987e16641477d6b4e15a54dde66a9923f8a.tar.gz rockbox-8f9bd987e16641477d6b4e15a54dde66a9923f8a.zip |
Fixed a chip8 bug
Change-Id: Ia28610713461eb02e8911be7fa0d5ad8ec8ba7fe
Reviewed-on: http://gerrit.rockbox.org/919
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/chip8.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) | |||
1541 | rb->lcd_drawrect(CHIP8_X-1,CHIP8_Y-1,CHIP8_LCDWIDTH+2,CHIP8_HEIGHT+2); | 1541 | rb->lcd_drawrect(CHIP8_X-1,CHIP8_Y-1,CHIP8_LCDWIDTH+2,CHIP8_HEIGHT+2); |
1542 | #endif | 1542 | #endif |
1543 | rb->lcd_update(); | 1543 | rb->lcd_update(); |
1544 | 1544 | #if (CONFIG_CODEC == HWCODEC) | |
1545 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | ||
1546 | /* init sound */ | 1545 | /* init sound */ |
1547 | is_playing = rb->mp3_is_playing(); /* would we disturb playback? */ | 1546 | is_playing = rb->mp3_is_playing(); /* would we disturb playback? */ |
1548 | if (!is_playing) /* no? then we can make sound */ | 1547 | if (!is_playing) /* no? then we can make sound */ |