mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Merge pull request #5259 from fr500/master
fix saving the libretro device in overrides
This commit is contained in:
commit
46552de0f6
@ -3785,7 +3785,8 @@ bool config_save_overrides(int override_type)
|
||||
snprintf(cfg, sizeof(cfg), "input_player%u_joypad_index", i + 1);
|
||||
config_set_int(conf, cfg, overrides->uints.input_joypad_map[i]);
|
||||
}
|
||||
if (input_config_get_device(i) != overrides->uints.input_libretro_device[i])
|
||||
|
||||
if (settings->uints.input_libretro_device[i] != overrides->uints.input_libretro_device[i])
|
||||
{
|
||||
snprintf(cfg, sizeof(cfg), "input_libretro_device_p%u", i + 1);
|
||||
config_set_int(conf, cfg, overrides->uints.input_libretro_device[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user