diff --git a/config.def.h b/config.def.h index 85a382f58f..a917d13124 100644 --- a/config.def.h +++ b/config.def.h @@ -488,6 +488,9 @@ static const float audio_volume = 0.0; // Misc ////////////// +// Enables displaying the current frames per second. +static const bool fps_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/settings_data.c b/settings_data.c index 1806905612..dafc868fc4 100644 --- a/settings_data.c +++ b/settings_data.c @@ -521,7 +521,7 @@ const rarch_setting_t* setting_data_get_list(void) START_GROUP("Options") START_SUB_GROUP("General Options") CONFIG_BOOL(g_extern.config_save_on_exit, "config_save_on_exit", "Configuration Save On Exit", config_save_on_exit, GROUP_NAME, SUBGROUP_NAME) - CONFIG_BOOL(g_settings.fps_show, "fps_show", "Show Framerate", "", GROUP_NAME, SUBGROUP_NAME) + CONFIG_BOOL(g_settings.fps_show, "fps_show", "Show Framerate", fps_show, GROUP_NAME, SUBGROUP_NAME) CONFIG_BOOL(g_settings.rewind_enable, "rewind_enable", "Rewind", rewind_enable, GROUP_NAME, SUBGROUP_NAME) //CONFIG_INT(g_settings.rewind_buffer_size, "rewind_buffer_size", "Rewind Buffer Size", rewind_buffer_size) WITH_SCALE(1000000) CONFIG_UINT(g_settings.rewind_granularity, "rewind_granularity", "Rewind Granularity", rewind_granularity, GROUP_NAME, SUBGROUP_NAME)