mirror of https://github.com/mgba-emu/mgba.git
mGUI: Fix control remapping not reloading (fixes #3277)
This commit is contained in:
parent
17b03b6f20
commit
77e747ebf6
|
@ -782,6 +782,9 @@ void mGUILoadInputMaps(struct mGUIRunner* runner) {
|
|||
size_t i;
|
||||
for (i = 0; runner->keySources[i].id; ++i) {
|
||||
mInputMapLoad(&runner->params.keyMap, runner->keySources[i].id, mCoreConfigGetInput(&runner->config));
|
||||
if (runner->core) {
|
||||
mInputMapLoad(&runner->core->inputMap, runner->keySources[i].id, mCoreConfigGetInput(&runner->config));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue