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) | |||
1249 | return 1; | 1249 | return 1; |
1250 | break; | 1250 | break; |
1251 | case 3: | 1251 | case 3: |
1252 | #ifdef HAVE_LCD_BITMAP | ||
1252 | highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true); | 1253 | highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true); |
1254 | #else | ||
1255 | rb->splashf(2*HZ, "High Score: %d", highest[MAX_HIGH_SCORES].score); | ||
1256 | #endif | ||
1253 | break; | 1257 | break; |
1254 | case 4: | 1258 | case 4: |
1255 | if (playback_control(NULL)) | 1259 | if (playback_control(NULL)) |
@@ -1480,7 +1484,11 @@ enum plugin_status plugin_start (const void *parameter) | |||
1480 | rb->splash(HZ*2, "New High Score"); | 1484 | rb->splash(HZ*2, "New High Score"); |
1481 | } | 1485 | } |
1482 | if (position != -1) { | 1486 | if (position != -1) { |
1487 | #ifdef HAVE_LCD_BITMAP | ||
1483 | highscore_show(position, highest, MAX_HIGH_SCORES, true); | 1488 | highscore_show(position, highest, MAX_HIGH_SCORES, true); |
1489 | #else | ||
1490 | rb->splashf(2*HZ, "High Score: %d", highest[position].score); | ||
1491 | #endif | ||
1484 | } | 1492 | } |
1485 | } | 1493 | } |
1486 | } | 1494 | } |