summaryrefslogtreecommitdiff
path: root/apps
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
parent3dc1063dcc277c844264fef97ad2a97c24c923f6 (diff)
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')
-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 @@
/* Only build for (correct) target */
#ifdef HAVE_LCD_BITMAP
+#ifndef SIMULATOR /* not unless lcd_blit() is implemented and mp3_xx stubbed */
static struct plugin_api* rb; /* here is a global api struct pointer */
unsigned 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)
return chip8_run(filename) ? PLUGIN_OK : PLUGIN_ERROR;
}
+#endif /* #ifndef SIMULATOR */
#endif /* #ifdef HAVE_LCD_BITMAP */