Fix previous commit on targets without bitmap support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23654 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8826115a65
commit
d66b9be85d
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue