summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-04-16 20:38:15 +0000
committerDave Chapman <dave@dchapman.com>2006-04-16 20:38:15 +0000
commit95325ff72a367714c74564da768c64aede0a6cb0 (patch)
treee98c1785a760c051bab4e878d377315f470bdb23 /apps
parent6cc8c40e6bd77a7c753b417d36c4cc386cd1a1bd (diff)
downloadrockbox-95325ff72a367714c74564da768c64aede0a6cb0.zip
rockbox-95325ff72a367714c74564da768c64aede0a6cb0.tar.gz
rockbox-95325ff72a367714c74564da768c64aede0a6cb0.tar.bz2
rockbox-95325ff72a367714c74564da768c64aede0a6cb0.tar.xz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/SUBDIRS4
-rw-r--r--apps/plugins/bitmaps/native/SOURCES3
-rw-r--r--apps/plugins/sudoku/sudoku.c3
3 files changed, 6 insertions, 4 deletions
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 */