Skip to content

Commit cd8ff9f

Browse files
committed
Stop saving analog_dpad_mode to overrides
1 parent 65df1c4 commit cd8ff9f

2 files changed

Lines changed: 7 additions & 15 deletions

File tree

command.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ void command_event_save_current_config(enum override_type type)
21202120

21212121
/* command_event_save_config() does its own logging */
21222122
if (msg_cat == MESSAGE_QUEUE_CATEGORY_ERROR)
2123-
RARCH_ERR("[Overrides] %s\n", msg);
2123+
RARCH_ERR("[Override] %s\n", msg);
21242124

21252125
runloop_msg_queue_push(msg, _len, 1, 180, true, NULL,
21262126
MESSAGE_QUEUE_ICON_DEFAULT, msg_cat);
@@ -2159,14 +2159,14 @@ void command_event_save_current_config(enum override_type type)
21592159
switch (msg_cat)
21602160
{
21612161
case MESSAGE_QUEUE_CATEGORY_ERROR:
2162-
RARCH_ERR("[Overrides] %s\n", msg);
2162+
RARCH_ERR("[Override] %s\n", msg);
21632163
break;
21642164
case MESSAGE_QUEUE_CATEGORY_WARNING:
2165-
RARCH_WARN("[Overrides] %s\n", msg);
2165+
RARCH_WARN("[Override] %s\n", msg);
21662166
break;
21672167
case MESSAGE_QUEUE_CATEGORY_SUCCESS:
21682168
default:
2169-
RARCH_LOG("[Overrides] %s\n", msg);
2169+
RARCH_LOG("[Override] %s\n", msg);
21702170
break;
21712171
}
21722172

@@ -2214,9 +2214,9 @@ void command_event_remove_current_config(enum override_type type)
22142214
}
22152215

22162216
if (msg_cat == MESSAGE_QUEUE_CATEGORY_ERROR)
2217-
RARCH_ERR("[Overrides] %s\n", msg);
2217+
RARCH_ERR("[Override] %s\n", msg);
22182218
else
2219-
RARCH_LOG("[Overrides] %s\n", msg);
2219+
RARCH_LOG("[Override] %s\n", msg);
22202220

22212221
runloop_msg_queue_push(msg, _len, 1, 180, true, NULL,
22222222
MESSAGE_QUEUE_ICON_DEFAULT, msg_cat);

configuration.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5988,15 +5988,7 @@ int8_t config_save_overrides(enum override_type type,
59885988
RARCH_DBG("[Override] %s = \"%u\"\n", cfg, overrides->uints.input_joypad_index[i]);
59895989
}
59905990

5991-
if (settings->uints.input_analog_dpad_mode[i]
5992-
!= overrides->uints.input_analog_dpad_mode[i])
5993-
{
5994-
strlcpy(cfg + _len, "_analog_dpad_mode", sizeof(cfg) - _len);
5995-
config_set_int(conf, cfg, overrides->uints.input_analog_dpad_mode[i]);
5996-
RARCH_DBG("[Override] %s = \"%u\"\n", cfg, overrides->uints.input_analog_dpad_mode[i]);
5997-
}
5998-
5999-
if (settings->uints.input_device_reservation_type[i]
5991+
if (settings->uints.input_device_reservation_type[i]
60005992
!= overrides->uints.input_device_reservation_type[i])
60015993
{
60025994
strlcpy(cfg + _len, "_device_reservation_type", sizeof(cfg) - _len);

0 commit comments

Comments
 (0)