mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +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;
|
return false;
|
||||||
|
|
||||||
if (!string_is_empty(global->name.remapfile))
|
if (!string_is_empty(global->name.remapfile))
|
||||||
free(global->name.remapfile);
|
input_remapping_set_defaults(true);
|
||||||
global->name.remapfile = strdup(path);
|
global->name.remapfile = strdup(path);
|
||||||
|
|
||||||
for (i = 0; i < MAX_USERS; i++)
|
for (i = 0; i < MAX_USERS; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user