From d66b9be85d3f848e7e69b1e374a2fecfe57e4428 Mon Sep 17 00:00:00 2001 From: Johannes Schwarz Date: Tue, 17 Nov 2009 07:22:02 +0000 Subject: Fix previous commit on targets without bitmap support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23654 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockblox.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps') diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index e530a16fc1..9f538b6591 100644 --- a/apps/plugins/rockblox.c +++ b/apps/plugins/rockblox.c @@ -1249,7 +1249,11 @@ static int rockblox_menu(void) return 1; break; case 3: +#ifdef HAVE_LCD_BITMAP highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true); +#else + rb->splashf(2*HZ, "High Score: %d", highest[MAX_HIGH_SCORES].score); +#endif break; case 4: if (playback_control(NULL)) @@ -1480,7 +1484,11 @@ enum plugin_status plugin_start (const void *parameter) rb->splash(HZ*2, "New High Score"); } if (position != -1) { +#ifdef HAVE_LCD_BITMAP highscore_show(position, highest, MAX_HIGH_SCORES, true); +#else + rb->splashf(2*HZ, "High Score: %d", highest[position].score); +#endif } } } -- cgit v1.2.3