forked from len0rd/rockbox
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2c643b9f3e
commit
4d6374c923
107 changed files with 529 additions and 553 deletions
|
|
@ -245,7 +245,7 @@ void bounce(struct pong *p, int pad, int info)
|
|||
|
||||
void score(struct pong *p, int pad)
|
||||
{
|
||||
rb->splash(HZ/4, true, "%s scores!", pad?"right":"left");
|
||||
rb->splash(HZ/4, "%s scores!", pad?"right":"left");
|
||||
rb->lcd_clear_display();
|
||||
p->score[pad]++;
|
||||
|
||||
|
|
@ -424,7 +424,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
/* go go go */
|
||||
while(game > 0) {
|
||||
if (game == 2) { /* Game Paused */
|
||||
rb->splash(0, true, "PAUSED");
|
||||
rb->splash(0, "PAUSED");
|
||||
while(game == 2)
|
||||
game = keys(&pong); /* short circuit */
|
||||
rb->lcd_clear_display();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue