mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
Merge pull request #6784 from Tatsuya79/patch-9
call input_remapping_set_defaults before loading a new remap
This commit is contained in:
commit
1e44b4f9e7
@ -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