summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-01-31 09:34:51 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-01-31 09:34:51 +0000
commitb8020cac2e7463d65185696955b469676c695a28 (patch)
treedf3926e90165b5a524833b9ac9d3de456ae9342f /apps/plugins
parent3dc1063dcc277c844264fef97ad2a97c24c923f6 (diff)
downloadrockbox-b8020cac2e7463d65185696955b469676c695a28.tar.gz
rockbox-b8020cac2e7463d65185696955b469676c695a28.zip
not for simulator unless lcd_blit() is implemented and mp3_xx() are stubbed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4289 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/chip8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index c08079584e..533ef037e9 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -21,6 +21,7 @@
21 21
22/* Only build for (correct) target */ 22/* Only build for (correct) target */
23#ifdef HAVE_LCD_BITMAP 23#ifdef HAVE_LCD_BITMAP
24#ifndef SIMULATOR /* not unless lcd_blit() is implemented and mp3_xx stubbed */
24 25
25static struct plugin_api* rb; /* here is a global api struct pointer */ 26static struct plugin_api* rb; /* here is a global api struct pointer */
26unsigned char lcd_framebuf[8][64]; /* frame buffer in hardware fomat */ 27unsigned char lcd_framebuf[8][64]; /* frame buffer in hardware fomat */
@@ -599,4 +600,5 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
599 return chip8_run(filename) ? PLUGIN_OK : PLUGIN_ERROR; 600 return chip8_run(filename) ? PLUGIN_OK : PLUGIN_ERROR;
600} 601}
601 602
603#endif /* #ifndef SIMULATOR */
602#endif /* #ifdef HAVE_LCD_BITMAP */ 604#endif /* #ifdef HAVE_LCD_BITMAP */