summaryrefslogtreecommitdiffstats
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-06-21 17:10:22 +0000
committerThomas Martitz <kugel@rockbox.org>2010-06-21 17:10:22 +0000
commit637010541af5677acc676e8c770d07cc8a3187dd (patch)
tree8bb6f4daf8fabc69f709a1904aa9fd18636912b4 /apps/plugins/chip8.c
parentb59d6642e21d3b9a7c64824780742aaa2294fee3 (diff)
downloadrockbox-637010541af5677acc676e8c770d07cc8a3187dd.tar.gz
rockbox-637010541af5677acc676e8c770d07cc8a3187dd.tar.bz2
rockbox-637010541af5677acc676e8c770d07cc8a3187dd.zip
Fix yellows and reds (one was a type, the other was rather incorrect before already)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27021 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index a1372cd608..f60bdb36c0 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1266,7 +1266,7 @@ static void chip8_update_display(void)
*row++ = w;
}
}
-#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || (LCD_DEPTH > 1)
+#if (CONFIG_PLATFORM & PLATFORM_HOSTED) || (LCD_DEPTH >= 4)
rb->lcd_set_drawmode(DRMODE_SOLID);
rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH,
CHIP8_HEIGHT);