summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/rockbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/rockbox.c')
-rw-r--r--apps/plugins/puzzles/rockbox.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c
index 62ed3e9479..509528c95a 100644
--- a/apps/plugins/puzzles/rockbox.c
+++ b/apps/plugins/puzzles/rockbox.c
@@ -562,11 +562,14 @@ static void rb_draw_poly(void *handle, int *coords, int npoints,
562 xlcd_filltriangle(x1, y1, 562 xlcd_filltriangle(x1, y1,
563 x2, y2, 563 x2, y2,
564 x3, y3); 564 x3, y3);
565
566#ifdef DEBUG_MENU
565 if(settings.polyanim) 567 if(settings.polyanim)
566 { 568 {
567 rb->lcd_update(); 569 rb->lcd_update();
568 rb->sleep(HZ/5); 570 rb->sleep(HZ/4);
569 } 571 }
572#endif
570#if 0 573#if 0
571 /* debug code */ 574 /* debug code */
572 rb->lcd_set_foreground(LCD_RGBPACK(255,0,0)); 575 rb->lcd_set_foreground(LCD_RGBPACK(255,0,0));
@@ -616,6 +619,14 @@ static void rb_draw_poly(void *handle, int *coords, int npoints,
616 } 619 }
617 else 620 else
618 draw_antialiased_line(x1, y1, x2, y2); 621 draw_antialiased_line(x1, y1, x2, y2);
622
623#ifdef DEBUG_MENU
624 if(settings.polyanim)
625 {
626 rb->lcd_update();
627 rb->sleep(HZ/4);
628 }
629#endif
619 } 630 }
620 631
621 int x1, y1, x2, y2; 632 int x1, y1, x2, y2;
@@ -1117,6 +1128,8 @@ static bool config_menu(void)
1117 char *title; 1128 char *title;
1118 config_item *config = midend_get_config(me, CFG_SETTINGS, &title); 1129 config_item *config = midend_get_config(me, CFG_SETTINGS, &title);
1119 1130
1131 rb->lcd_setfont(FONT_UI);
1132
1120 bool success = false; 1133 bool success = false;
1121 1134
1122 if(!config) 1135 if(!config)