mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 23:37:11 +00:00
call input_remapping_set_defaults before loading a new remap
This commit is contained in:
parent
2d540264e8
commit
dd3c9dd838
@ -48,7 +48,7 @@ bool input_remapping_load_file(void *data, const char *path)
|
||||
return false;
|
||||
|
||||
if (!string_is_empty(global->name.remapfile))
|
||||
free(global->name.remapfile);
|
||||
input_remapping_set_defaults(true);
|
||||
global->name.remapfile = strdup(path);
|
||||
|
||||
for (i = 0; i < MAX_USERS; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user