From 59825952f3d98d29e03b094642655968d7abcc02 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 16 Nov 2005 22:59:28 +0000 Subject: 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 --- apps/plugins/rockboy/lcd-gb.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/plugins/rockboy/lcd-gb.h') 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 { int bg[64]; int wnd[64]; -#if LCD_DEPTH == 2 - byte buf[4][256]; -#else - byte buf[8][256]; +#if LCD_DEPTH == 1 + byte buf[8][256]; +#elif LCD_DEPTH == 2 + byte buf[4][256]; +#elif LCD_DEPTH > 4 + byte buf[1][256]; #endif byte pal1[128]; un16 pal2[64]; -- cgit v1.2.3