diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-08-01 23:42:41 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-08-01 23:42:41 +0000 |
| commit | 66029a58aeac41340f57d6b6c4f5c79eae04cc4a (patch) | |
| tree | 6e54a1a846e102a256a650da9613e89077d2b4fa /apps/plugins | |
| parent | b1c61b95dfddccf3a1e2a94f61ca2ca079d51437 (diff) | |
| download | rockbox-66029a58aeac41340f57d6b6c4f5c79eae04cc4a.zip rockbox-66029a58aeac41340f57d6b6c4f5c79eae04cc4a.tar.gz rockbox-66029a58aeac41340f57d6b6c4f5c79eae04cc4a.tar.bz2 rockbox-66029a58aeac41340f57d6b6c4f5c79eae04cc4a.tar.xz | |
Prevent pong from crashing in 64 bit simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14133 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/pong.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index a1a1d58..b88b95b 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c @@ -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]++; |