summaryrefslogtreecommitdiff
path: root/apps/plugins/pong.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pong.c')
-rw-r--r--apps/plugins/pong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index a0889b8281..b799a0a37a 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -245,7 +245,7 @@ void bounce(struct pong *p, int pad, int info)
245 245
246void score(struct pong *p, int pad) 246void score(struct pong *p, int pad)
247{ 247{
248 rb->splash(HZ/4, true, "%s scores!", pad?"right":"left"); 248 rb->splash(HZ/4, "%s scores!", pad?"right":"left");
249 rb->lcd_clear_display(); 249 rb->lcd_clear_display();
250 p->score[pad]++; 250 p->score[pad]++;
251 251
@@ -424,7 +424,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
424 /* go go go */ 424 /* go go go */
425 while(game > 0) { 425 while(game > 0) {
426 if (game == 2) { /* Game Paused */ 426 if (game == 2) { /* Game Paused */
427 rb->splash(0, true, "PAUSED"); 427 rb->splash(0, "PAUSED");
428 while(game == 2) 428 while(game == 2)
429 game = keys(&pong); /* short circuit */ 429 game = keys(&pong); /* short circuit */
430 rb->lcd_clear_display(); 430 rb->lcd_clear_display();