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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 7e6fda0bbc..0f7e24b551 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -1178,11 +1178,12 @@ static void chip8_update_display(void)
1178 } 1178 }
1179#if defined(SIMULATOR) || (LCD_DEPTH > 1) 1179#if defined(SIMULATOR) || (LCD_DEPTH > 1)
1180 rb->lcd_set_drawmode(DRMODE_SOLID); 1180 rb->lcd_set_drawmode(DRMODE_SOLID);
1181 rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH, CHIP8_HEIGHT); 1181 rb->lcd_mono_bitmap(lcd_framebuf[0], CHIP8_X, CHIP8_Y, CHIP8_LCDWIDTH,
1182 CHIP8_HEIGHT);
1182 rb->lcd_update(); 1183 rb->lcd_update();
1183#else 1184#else
1184 rb->lcd_blit(lcd_framebuf[0], CHIP8_X, CHIP8_Y>>3, CHIP8_LCDWIDTH, CHIP8_HEIGHT>>3 1185 rb->lcd_blit_mono(lcd_framebuf[0], CHIP8_X, CHIP8_Y>>3, CHIP8_LCDWIDTH,
1185 , CHIP8_LCDWIDTH); 1186 CHIP8_HEIGHT>>3, CHIP8_LCDWIDTH);
1186#endif 1187#endif
1187} 1188}
1188 1189