summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/lcd.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-06 22:58:02 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-06 22:58:02 +0000
commitf894a4c2691fbde1758a05407cb5eadcaec4a6c8 (patch)
tree46cb7ce63c794020175ab251cf0299663be8bf3c /apps/plugins/rockboy/lcd.c
parent1076eb1d2720b88757616f642be0c39c6a3b76df (diff)
downloadrockbox-f894a4c2691fbde1758a05407cb5eadcaec4a6c8.tar.gz
rockbox-f894a4c2691fbde1758a05407cb5eadcaec4a6c8.zip
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/lcd.c')
-rw-r--r--apps/plugins/rockboy/lcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index 651c82286f..9a7ead798f 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -786,7 +786,7 @@ void lcd_refreshline(void)
786 recolor(BUF+WX, 0x04, 160-WX); 786 recolor(BUF+WX, 0x04, 160-WX);
787 } 787 }
788 spr_scan(); 788 spr_scan();
789#ifdef GRAYSCALE 789#if LCD_DEPTH == 2
790 if (scanline_ind == 3) 790 if (scanline_ind == 3)
791#else 791#else
792 if (scanline_ind == 7) 792 if (scanline_ind == 7)
@@ -800,7 +800,7 @@ void lcd_refreshline(void)
800#if LCD_HEIGHT == 64 800#if LCD_HEIGHT == 64
801 scanline_ind = (scanline_ind+1) % 8; 801 scanline_ind = (scanline_ind+1) % 8;
802#else 802#else
803#ifdef GRAYSCALE 803#if LCD_DEPTH == 2
804 scanline_ind = (scanline_ind+1) % 4; 804 scanline_ind = (scanline_ind+1) % 4;
805#else 805#else
806 scanline_ind = (scanline_ind+1) % 8; 806 scanline_ind = (scanline_ind+1) % 8;