mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-24 03:42:31 +00:00
Revert "(menu_setting.c) Fix double change callback call"
This commit is contained in:
parent
876233138b
commit
31086a0bdf
@ -1217,8 +1217,10 @@ static int setting_bool_action_toggle_default(void *data, bool wraparound)
|
|||||||
if (!setting)
|
if (!setting)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
return menu_setting_set_with_string_representation(setting,
|
menu_setting_set_with_string_representation(setting,
|
||||||
*setting->value.boolean ? "false" : "true");
|
*setting->value.boolean ? "false" : "true");
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int setting_generic_action_ok_default(void *data, bool wraparound)
|
static int setting_generic_action_ok_default(void *data, bool wraparound)
|
||||||
@ -1764,7 +1766,7 @@ int menu_action_handle_setting(rarch_setting_t *setting,
|
|||||||
case ST_DIR:
|
case ST_DIR:
|
||||||
case ST_BIND:
|
case ST_BIND:
|
||||||
case ST_ACTION:
|
case ST_ACTION:
|
||||||
if (setting_handler(setting, action) != 0)
|
if (setting_handler(setting, action) == 0)
|
||||||
return menu_setting_generic(setting, wraparound);
|
return menu_setting_generic(setting, wraparound);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user