summaryrefslogtreecommitdiff
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chip8.c')
-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 */