diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-12-28 14:27:18 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-05 19:35:23 +0100 |
commit | a17a7038c265d3bd6b5399f77c4caa4edfc67df7 (patch) | |
tree | 9adf8a2713a24b7bba68fe5a0cd5de3ed9204471 /firmware/export | |
parent | 17a1867c9ca8f22c5e2f2bb6b8228cad273527a9 (diff) | |
download | rockbox-a17a7038c265d3bd6b5399f77c4caa4edfc67df7.tar.gz rockbox-a17a7038c265d3bd6b5399f77c4caa4edfc67df7.zip |
lcd: Fix certain drawmode combinations.
Some seldomly used drawmode combinations did not work in conjunction with
alpha bitmaps and backdrops. Now all should work (see comment added) by using
more bits.
Change-Id: I2bc96ecf471fa8c1a608a321a235b9c8527b3dc5
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index f6b32a37ee..7842ce59f2 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -287,7 +287,8 @@ extern void lcd_jump_scroll_delay(int ms); | |||
287 | #define DRMODE_SOLID 3 | 287 | #define DRMODE_SOLID 3 |
288 | #define DRMODE_INVERSEVID 4 /* used as bit modifier for basic modes */ | 288 | #define DRMODE_INVERSEVID 4 /* used as bit modifier for basic modes */ |
289 | /* Internal drawmode modifiers. DO NOT use with set_drawmode() */ | 289 | /* Internal drawmode modifiers. DO NOT use with set_drawmode() */ |
290 | #define DRMODE_INT_MOD 8 | 290 | #define DRMODE_INT_BD 8 |
291 | #define DRMODE_INT_IMG 16 | ||
291 | 292 | ||
292 | /* Low-level drawing function types */ | 293 | /* Low-level drawing function types */ |
293 | typedef void lcd_pixelfunc_type(int x, int y); | 294 | typedef void lcd_pixelfunc_type(int x, int y); |