Skip to content

Commit f851195

Browse files
committed
Fix device reservation override save
1 parent 9c6a1a6 commit f851195

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

configuration.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5996,17 +5996,6 @@ int8_t config_save_overrides(enum override_type type,
59965996
RARCH_DBG("[Override] %s = \"%u\"\n", cfg, overrides->uints.input_device_reservation_type[i]);
59975997
}
59985998

5999-
/* TODO: is this whole section really necessary? Does the loop above not do this? */
6000-
if (!string_is_equal(settings->arrays.input_reserved_devices[i], overrides->arrays.input_reserved_devices[i]))
6001-
{
6002-
strlcpy(cfg + _len, "_device_reservation_type", sizeof(cfg) - _len);
6003-
6004-
config_set_string(conf, cfg,
6005-
overrides->arrays.input_reserved_devices[i]);
6006-
RARCH_DBG("[Override] %s = \"%s\"\n",
6007-
cfg, overrides->arrays.input_reserved_devices[i]);
6008-
}
6009-
60105999
for (j = 0; j < RARCH_BIND_LIST_END; j++)
60116000
{
60126001
const struct retro_keybind *override_bind = &input_override_binds[i][j];

0 commit comments

Comments
 (0)