From 95325ff72a367714c74564da768c64aede0a6cb0 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 16 Apr 2006 20:38:15 +0000 Subject: Build Sudoku for the iPod Nano - just use the 160x128 bitmaps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9689 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SUBDIRS | 4 ++-- apps/plugins/bitmaps/native/SOURCES | 3 ++- apps/plugins/sudoku/sudoku.c | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 2e29b3e..1c500fc 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -16,8 +16,8 @@ rockboy /* For all targets with a bitmap display */ #ifdef HAVE_LCD_BITMAP chessbox -#if (LCD_WIDTH != 176) && (LCD_WIDTH != 138) -/* This needs adjusting for the iPod Nano and Mini */ +#if (LCD_WIDTH != 138) +/* This needs adjusting for the iPod Mini */ sudoku #endif #endif diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index 92c2f75..dc2b774 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -118,7 +118,8 @@ solitaire_cardback.176x132x16.bmp sudoku_start.112x64x1.bmp sudoku_normal.112x64x1.bmp sudoku_inverse.112x64x1.bmp -#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 2) +#elif ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 2)) || \ + ((LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH >= 2)) sudoku_start.160x128x2.bmp sudoku_normal.160x128x2.bmp sudoku_inverse.160x128x2.bmp diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index e2b7098..cf9c51a 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c @@ -77,7 +77,8 @@ extern const fb_data sudoku_normal[]; extern const fb_data sudoku_start[]; extern const fb_data sudoku_inverse[]; -#if (LCD_HEIGHT==128) && (LCD_WIDTH==160) +#if ((LCD_HEIGHT==128) && (LCD_WIDTH==160)) || \ + ((LCD_HEIGHT==132) && (LCD_WIDTH==176)) /* For iriver H1x0 - 160x128, 9 cells @ 12x12 with 14 border lines*/ /* Internal dimensions of a cell */ -- cgit v1.1