settings_data.c: Fix an accidental use of a string literal in a boolean function

This commit is contained in:
Lioncash 2014-07-11 20:33:23 -04:00
parent 958e2ee0b1
commit 07cc9b08d2
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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)