diff options
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]; |