From 65e6a630263b6a7d5c3e80208b98aae07ecc4064 Mon Sep 17 00:00:00 2001 From: Jonas Häggqvist Date: Wed, 15 Jun 2005 13:56:54 +0000 Subject: The modifications are for all larger screens git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6723 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/snake2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c index 3569c851b1..0b0419bcf0 100644 --- a/apps/plugins/snake2.c +++ b/apps/plugins/snake2.c @@ -33,7 +33,7 @@ Head and Tail are stored #define WIDTH 28 #define HEIGHT 16 -#ifdef IRIVER_H100 +#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 128 #define MULTIPLIER 5 /*Modifier for porting on other screens*/ #define MODIFIER_1 5 #define MODIFIER_2 3 @@ -616,7 +616,7 @@ void draw_apple( void ) { int x,y; -#ifdef IRIVER_H100 +#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 128 char pscore[5], counter[4]; rb->lcd_bitmap(snakebmp,0,0,BMPWIDTH_snakebmp,BMPHEIGHT_snakebmp,false); @@ -1287,7 +1287,7 @@ void game_init(void) rb->lcd_clear_display(); redraw(); -#ifdef IRIVER_H100 +#if LCD_WIDTH >= 160 && LCD_HEIGHT >= 128 rb->lcd_bitmap(snakebmp,0,0,BMPWIDTH_snakebmp,BMPWIDTH_snakebmp,false); -- cgit v1.2.3