diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-07 09:48:30 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-07 09:48:30 +0000 |
commit | 2cc64c4572ead2b90e2e3999e31847d18286715b (patch) | |
tree | 8ed5c0cca09a18633a2f2977067a57445b24ed13 /apps/plugins | |
parent | 28bd327559c11c5b0821f20aa8cf35aeceb94549 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/chip8.c | 2 |
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) | |||
1060 | *row++ = w; | 1060 | *row++ = w; |
1061 | } | 1061 | } |
1062 | } | 1062 | } |
1063 | #ifdef SIMULATOR | 1063 | #if defined(SIMULATOR) || (LCD_DEPTH > 1) |
1064 | rb->lcd_set_drawmode(DRMODE_SOLID); | 1064 | rb->lcd_set_drawmode(DRMODE_SOLID); |
1065 | rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH, CHIP8_HEIGHT); | 1065 | rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH, CHIP8_HEIGHT); |
1066 | rb->lcd_update(); | 1066 | rb->lcd_update(); |