forked from len0rd/rockbox
Prevent pong from crashing in 64 bit simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14133 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b1c61b95df
commit
66029a58ae
1 changed files with 4 additions and 1 deletions
|
@ -246,7 +246,10 @@ void bounce(struct pong *p, int pad, int info)
|
|||
|
||||
void score(struct pong *p, int pad)
|
||||
{
|
||||
rb->splash(HZ/4, "%s scores!", pad?"right":"left");
|
||||
if(pad)
|
||||
rb->splash(HZ/4, "right scores!");
|
||||
else
|
||||
rb->splash(HZ/4, "left scores!");
|
||||
rb->lcd_clear_display();
|
||||
p->score[pad]++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue