summaryrefslogtreecommitdiff
path: root/apps/plugins/jackpot.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jackpot.c')
-rw-r--r--apps/plugins/jackpot.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/plugins/jackpot.c b/apps/plugins/jackpot.c
index 37ee4514e7..b0a6265311 100644
--- a/apps/plugins/jackpot.c
+++ b/apps/plugins/jackpot.c
@@ -78,6 +78,7 @@ static void jackpot_exit(void *parameter)
78 78
79 /* Clear the screen */ 79 /* Clear the screen */
80 rb->lcd_clear_display(); 80 rb->lcd_clear_display();
81 rb->lcd_update();
81} 82}
82 83
83 84
@@ -115,13 +116,15 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
115 rb->lcd_putc(9,0,h2); rb->lcd_putc(10,0,h1); 116 rb->lcd_putc(9,0,h2); rb->lcd_putc(10,0,h1);
116 rb->lcd_puts(0,1," V1.1 "); 117 rb->lcd_puts(0,1," V1.1 ");
117 rb->lcd_putc(1,1,h3); rb->lcd_putc(9,1,h3); 118 rb->lcd_putc(1,1,h3); rb->lcd_putc(9,1,h3);
119 rb->lcd_update();
118 rb->sleep(HZ*2); 120 rb->sleep(HZ*2);
119 rb->lcd_clear_display();
120 121
121 /*First display*/ 122 /*First display*/
123 rb->lcd_clear_display();
122 rb->snprintf(str,sizeof(str),"[ ]$%d",g); 124 rb->snprintf(str,sizeof(str),"[ ]$%d",g);
123 rb->lcd_puts(0,0,str); 125 rb->lcd_puts(0,0,str);
124 rb->lcd_puts_scroll(0,1,"PLAY to begin"); 126 rb->lcd_puts_scroll(0,1,"PLAY to begin");
127 rb->lcd_update();
125 128
126 /*Empty the event queue*/ 129 /*Empty the event queue*/
127 rb->button_clear_queue(); 130 rb->button_clear_queue();
@@ -165,6 +168,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
165 168
166 /*Clear the Second line*/ 169 /*Clear the Second line*/
167 rb->lcd_puts_scroll(0,1,"Good luck"); 170 rb->lcd_puts_scroll(0,1,"Good luck");
171 rb->lcd_update();
168 172
169 /*GO !!!!*/ 173 /*GO !!!!*/
170 if ( go && !exit ) 174 if ( go && !exit )
@@ -188,6 +192,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
188 rb->lcd_putc(1,0, h1); 192 rb->lcd_putc(1,0, h1);
189 rb->lcd_putc(2,0, h2); 193 rb->lcd_putc(2,0, h2);
190 rb->lcd_putc(3,0, h3); 194 rb->lcd_putc(3,0, h3);
195 rb->lcd_update();
191 for(i=0;i<3;i++) 196 for(i=0;i<3;i++)
192 { 197 {
193 if (n[i]>=0) 198 if (n[i]>=0)
@@ -268,6 +273,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
268 rb->snprintf(str,sizeof(str),"You win %d$",j); 273 rb->snprintf(str,sizeof(str),"You win %d$",j);
269 rb->lcd_puts(0,1,str); 274 rb->lcd_puts(0,1,str);
270 } 275 }
276 rb->lcd_update();
271 } 277 }
272 } 278 }
273 279