forked from len0rd/rockbox
rockblox: Correct wrong access to array of highscores.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23828 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1ac3b4b605
commit
f793653677
1 changed files with 1 additions and 1 deletions
|
@ -1252,7 +1252,7 @@ static int rockblox_menu(void)
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true);
|
highscore_show(MAX_HIGH_SCORES, highest, MAX_HIGH_SCORES, true);
|
||||||
#else
|
#else
|
||||||
rb->splashf(2*HZ, "High Score: %d", highest[MAX_HIGH_SCORES].score);
|
rb->splashf(2*HZ, "High Score: %d", highest[0].score);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue