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) { if(options.showstats) { - rb->lcd_putsxyf(0,LCD_HEIGHT-10,"FPS: %d Frameskip: %d ", - options.fps, options.frameskip); + if(options.showstats==1) { + rb->lcd_putsxyf(0,LCD_HEIGHT-10," %d %d ", + options.fps, options.frameskip); + } else { + rb->lcd_putsxyf(0,LCD_HEIGHT-10," FPS: %d Frameskip: %d ", + options.fps, options.frameskip); + } rb->lcd_update_rect(0,LCD_HEIGHT-10, LCD_WIDTH, 10); } 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) { "On" , -1 }, }; + static const struct opt_items stats[3] = { + { "Off", -1 }, + { "Short" , -1 }, + { "Full" , -1 }, + }; + static const struct opt_items frameskip[]= { { "0 Max", -1 }, { "1 Max", -1 }, @@ -440,7 +446,7 @@ static void do_opt_menu(void) rb->option_screen((struct settings_list*)vol, parentvp, false, "Volume"); break; case 3: /* Stats */ - rb->set_option("Stats", &options.showstats, INT, onoff, 2, NULL ); + rb->set_option("Stats", &options.showstats, INT, stats, 3, NULL ); break; case 4: /* Keys */ setupkeys();