summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRichard Quirk <richard.quirk@gmail.com>2012-10-02 21:22:43 +0200
committerMichael Giacomelli <mgiacomelli@gmail.com>2012-10-03 17:01:36 +0200
commit055c92cf427b5b9174fc2648e8f19c1fc130b2e8 (patch)
tree8b21985ff58f1d745ca492b6b9a95daab03b1eff /apps
parent821efc46ec9392a58df95b396fd51972cf5fd3e7 (diff)
snake2: fix maze size for sansa clip zip
Change-Id: I43bd0a7217c7f0dcd0dda4fe102582fc5ae61c9f Reviewed-on: http://gerrit.rockbox.org/322 Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/snake2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c
index eec6e7f5c9..ff34192e51 100644
--- a/apps/plugins/snake2.c
+++ b/apps/plugins/snake2.c
@@ -121,6 +121,12 @@ Head and Tail are stored
#define TOP_X4 114
#define TOP_Y1 4
#define TOP_Y2 25
+#elif (LCD_WIDTH == 96) && (LCD_HEIGHT == 96)
+ #define MULTIPLIER 3
+ #define MODIFIER_1 4
+ #define MODIFIER_2 2
+ #define CENTER_X 6
+ #define CENTER_Y 12
#else
#define MULTIPLIER 4
#define MODIFIER_1 4