mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fixed a chip8 bug
Change-Id: Ia28610713461eb02e8911be7fa0d5ad8ec8ba7fe Reviewed-on: http://gerrit.rockbox.org/919 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
This commit is contained in:
parent
5fb370267f
commit
8f9bd987e1
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
rb->lcd_drawrect(CHIP8_X-1,CHIP8_Y-1,CHIP8_LCDWIDTH+2,CHIP8_HEIGHT+2);
|
||||||
#endif
|
#endif
|
||||||
rb->lcd_update();
|
rb->lcd_update();
|
||||||
|
#if (CONFIG_CODEC == HWCODEC)
|
||||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
|
||||||
/* init sound */
|
/* init sound */
|
||||||
is_playing = rb->mp3_is_playing(); /* would we disturb playback? */
|
is_playing = rb->mp3_is_playing(); /* would we disturb playback? */
|
||||||
if (!is_playing) /* no? then we can make sound */
|
if (!is_playing) /* no? then we can make sound */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue