mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
setting_bool_action_toggle_default - use setting_with_string_representation
This commit is contained in:
parent
06d1b033e9
commit
7bd2372d09
@ -879,7 +879,8 @@ static int setting_bool_action_toggle_default(void *data, bool wraparound)
|
||||
if (!setting)
|
||||
return -1;
|
||||
|
||||
*setting->value.boolean = !(*setting->value.boolean);
|
||||
setting_set_with_string_representation(setting,
|
||||
*setting->value.boolean ? "false" : "true");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user