summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/rockboy/lcd.c9
-rw-r--r--apps/plugins/rockboy/menu.c8
2 files changed, 14 insertions, 3 deletions
diff --git a/apps/plugins/rockboy/lcd.c b/apps/plugins/rockboy/lcd.c
index 22f8864889..2dc983f812 100644
--- a/apps/plugins/rockboy/lcd.c
+++ b/apps/plugins/rockboy/lcd.c
@@ -1108,8 +1108,13 @@ void lcd_refreshline(void)
1108 { 1108 {
1109 if(options.showstats) 1109 if(options.showstats)
1110 { 1110 {
1111 rb->lcd_putsxyf(0,LCD_HEIGHT-10,"FPS: %d Frameskip: %d ", 1111 if(options.showstats==1) {
1112 options.fps, options.frameskip); 1112 rb->lcd_putsxyf(0,LCD_HEIGHT-10," %d %d ",
1113 options.fps, options.frameskip);
1114 } else {
1115 rb->lcd_putsxyf(0,LCD_HEIGHT-10," FPS: %d Frameskip: %d ",
1116 options.fps, options.frameskip);
1117 }
1113 rb->lcd_update_rect(0,LCD_HEIGHT-10, LCD_WIDTH, 10); 1118 rb->lcd_update_rect(0,LCD_HEIGHT-10, LCD_WIDTH, 10);
1114 } 1119 }
1115 1120
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c
index 831d8c8a59..da9783cf79 100644
--- a/apps/plugins/rockboy/menu.c
+++ b/apps/plugins/rockboy/menu.c
@@ -349,6 +349,12 @@ static void do_opt_menu(void)
349 { "On" , -1 }, 349 { "On" , -1 },
350 }; 350 };
351 351
352 static const struct opt_items stats[3] = {
353 { "Off", -1 },
354 { "Short" , -1 },
355 { "Full" , -1 },
356 };
357
352 static const struct opt_items frameskip[]= { 358 static const struct opt_items frameskip[]= {
353 { "0 Max", -1 }, 359 { "0 Max", -1 },
354 { "1 Max", -1 }, 360 { "1 Max", -1 },
@@ -440,7 +446,7 @@ static void do_opt_menu(void)
440 rb->option_screen((struct settings_list*)vol, parentvp, false, "Volume"); 446 rb->option_screen((struct settings_list*)vol, parentvp, false, "Volume");
441 break; 447 break;
442 case 3: /* Stats */ 448 case 3: /* Stats */
443 rb->set_option("Stats", &options.showstats, INT, onoff, 2, NULL ); 449 rb->set_option("Stats", &options.showstats, INT, stats, 3, NULL );
444 break; 450 break;
445 case 4: /* Keys */ 451 case 4: /* Keys */
446 setupkeys(); 452 setupkeys();