diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-16 22:59:28 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-16 22:59:28 +0000 |
commit | 59825952f3d98d29e03b094642655968d7abcc02 (patch) | |
tree | 5648bd1ec26aca707755221b7c8a058d6a2aeffb /apps/plugins/rockboy/lcd-gb.h | |
parent | 32877021a5f72984117d059b461a561b3439b47b (diff) | |
download | rockbox-59825952f3d98d29e03b094642655968d7abcc02.tar.gz rockbox-59825952f3d98d29e03b094642655968d7abcc02.zip |
Rockboy: adapted to colour LCD (but no colours for gameboy color games yet). Some cleanup; killed a ton of TABs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7915 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/lcd-gb.h')
-rw-r--r-- | apps/plugins/rockboy/lcd-gb.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/lcd-gb.h b/apps/plugins/rockboy/lcd-gb.h index 0b863b6eea..14d7ee49e0 100644 --- a/apps/plugins/rockboy/lcd-gb.h +++ b/apps/plugins/rockboy/lcd-gb.h | |||
@@ -16,10 +16,12 @@ struct scan | |||
16 | { | 16 | { |
17 | int bg[64]; | 17 | int bg[64]; |
18 | int wnd[64]; | 18 | int wnd[64]; |
19 | #if LCD_DEPTH == 2 | 19 | #if LCD_DEPTH == 1 |
20 | byte buf[4][256]; | 20 | byte buf[8][256]; |
21 | #else | 21 | #elif LCD_DEPTH == 2 |
22 | byte buf[8][256]; | 22 | byte buf[4][256]; |
23 | #elif LCD_DEPTH > 4 | ||
24 | byte buf[1][256]; | ||
23 | #endif | 25 | #endif |
24 | byte pal1[128]; | 26 | byte pal1[128]; |
25 | un16 pal2[64]; | 27 | un16 pal2[64]; |