From 3e85f4056343b0dbcbd9a993e317f3852af2d2dd Mon Sep 17 00:00:00 2001 From: Tatsuya79 Date: Wed, 13 Feb 2019 23:41:13 +0100 Subject: [PATCH] fix some OSD settings --- config.def.h | 3 +++ menu/menu_setting.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 69508c4845..ccde7b1d66 100644 --- a/config.def.h +++ b/config.def.h @@ -577,6 +577,9 @@ static const bool framecount_show = false; /* Includes displaying the current memory usage/total with FPS/Frames. */ static const bool memory_show = false; +/* Enables displaying various timing statistics. */ +static const bool statistics_show = false; + /* Enables use of rewind. This will incur some memory footprint * depending on the save state buffer. */ static const bool rewind_enable = false; diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 63ca9fc1f1..b45fa78c1c 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -5412,7 +5412,7 @@ static bool setting_append_list( &settings->bools.video_statistics_show, MENU_ENUM_LABEL_STATISTICS_SHOW, MENU_ENUM_LABEL_VALUE_STATISTICS_SHOW, - fps_show, + statistics_show, MENU_ENUM_LABEL_VALUE_OFF, MENU_ENUM_LABEL_VALUE_ON, &group_info, @@ -5427,7 +5427,7 @@ static bool setting_append_list( &settings->bools.video_framecount_show, MENU_ENUM_LABEL_FRAMECOUNT_SHOW, MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW, - fps_show, + framecount_show, MENU_ENUM_LABEL_VALUE_OFF, MENU_ENUM_LABEL_VALUE_ON, &group_info,