]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix keyboard layouts
authorToni Wilen <twilen@winuae.net>
Sat, 9 Jan 2016 21:30:28 +0000 (23:30 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 9 Jan 2016 21:30:28 +0000 (23:30 +0200)
inputdevice.cpp

index c66e46dd3c6e1f9138d548753c4d33c24ef14f52..66e32dfe19c4597e3ab4c524ea3fe5983f297c29 100644 (file)
@@ -8371,7 +8371,7 @@ void inputdevice_fix_prefs(struct uae_prefs *p)
                if (!matched[i]) {
                        struct jport_config *jp = &jport_config_store[i];
                        if (jp->id[0]) {
-                               if (inputdevice_joyport_config(p, jp->configname, i, jp->mode, 0)) {
+                               if (inputdevice_joyport_config(p, jp->id, i, jp->mode, 0)) {
                                        inputdevice_validate_jports(p, i, matched);
                                        inputdevice_store_used_device(p, i);
                                        matched[i] = true;