summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-07-07 09:48:30 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-07-07 09:48:30 +0000
commit2cc64c4572ead2b90e2e3999e31847d18286715b (patch)
tree8ed5c0cca09a18633a2f2977067a57445b24ed13
parent28bd327559c11c5b0821f20aa8cf35aeceb94549 (diff)
downloadrockbox-2cc64c4572ead2b90e2e3999e31847d18286715b.tar.gz
rockbox-2cc64c4572ead2b90e2e3999e31847d18286715b.zip
Chip8 works again on grayscale devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7053 a1c6a512-1295-4272-9138-f99709370657
-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 e990742c9f..a92fc4d13c 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1060,7 +1060,7 @@ static void chip8_update_display(void)
*row++ = w;
}
}
-#ifdef SIMULATOR
+#if defined(SIMULATOR) || (LCD_DEPTH > 1)
rb->lcd_set_drawmode(DRMODE_SOLID);
rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH, CHIP8_HEIGHT);
rb->lcd_update();