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:
Johannes Schwarz 2009-11-17 07:22:02 +00:00
parent 8826115a65
commit d66b9be85d

View file

@ -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
}
}
}