diff options
author | Johannes Schwarz <ubuntuxer@rockbox.org> | 2009-11-17 07:22:02 +0000 |
---|---|---|
committer | Johannes Schwarz <ubuntuxer@rockbox.org> | 2009-11-17 07:22:02 +0000 |
commit | d66b9be85d3f848e7e69b1e374a2fecfe57e4428 (patch) | |
tree | 70ea6fb117d3af783cce68e1a0d3a894e7aa5a30 /apps | |
parent | 8826115a65c89dcd6cc03230ff5cd9573d1430cd (diff) | |
download | rockbox-d66b9be85d3f848e7e69b1e374a2fecfe57e4428.tar.gz rockbox-d66b9be85d3f848e7e69b1e374a2fecfe57e4428.zip |
Fix previous commit on targets without bitmap support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23654 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/rockblox.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 } } } |