diff options
author | Michiel Van Der Kolk <not.valid@email.address> | 2005-03-04 11:01:33 +0000 |
---|---|---|
committer | Michiel Van Der Kolk <not.valid@email.address> | 2005-03-04 11:01:33 +0000 |
commit | ca2e99b4be0155abc90033ba2757f39d3ede9713 (patch) | |
tree | 2e6db5b2c392bc3ef53f31bdaf4dd71eac514410 /apps/plugins/rockboy/lcd.h | |
parent | ee811a34433e88c965090fc9e936dc46db48f737 (diff) | |
download | rockbox-ca2e99b4be0155abc90033ba2757f39d3ede9713.tar.gz rockbox-ca2e99b4be0155abc90033ba2757f39d3ede9713.zip |
Grayscale support for rockboy - can't work without markuns patch,
needs rockbox' internal framebuffer in 2 bit (4 pixels / byte) format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6132 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/lcd.h')
-rw-r--r-- | apps/plugins/rockboy/lcd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/lcd.h b/apps/plugins/rockboy/lcd.h index 4911f857de..776c8592f4 100644 --- a/apps/plugins/rockboy/lcd.h +++ b/apps/plugins/rockboy/lcd.h | |||
@@ -16,7 +16,11 @@ struct scan | |||
16 | { | 16 | { |
17 | int bg[64]; | 17 | int bg[64]; |
18 | int wnd[64]; | 18 | int wnd[64]; |
19 | byte buf[8][256]; | 19 | #ifdef GRAYSCALE |
20 | byte buf[4][256]; | ||
21 | #else | ||
22 | byte buf[8][256]; | ||
23 | #endif | ||
20 | byte pal1[128]; | 24 | byte pal1[128]; |
21 | un16 pal2[64]; | 25 | un16 pal2[64]; |
22 | un32 pal4[64]; | 26 | un32 pal4[64]; |