From 055c92cf427b5b9174fc2648e8f19c1fc130b2e8 Mon Sep 17 00:00:00 2001 From: Richard Quirk Date: Tue, 2 Oct 2012 21:22:43 +0200 Subject: [PATCH] snake2: fix maze size for sansa clip zip Change-Id: I43bd0a7217c7f0dcd0dda4fe102582fc5ae61c9f Reviewed-on: http://gerrit.rockbox.org/322 Reviewed-by: Michael Giacomelli --- apps/plugins/snake2.c | 6 ++++++ 1 file changed, 6 insertions(+) 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