]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
keyboard_type copypaste fix.
authorToni Wilen <twilen@winuae.net>
Wed, 21 Jun 2017 17:46:01 +0000 (20:46 +0300)
committerToni Wilen <twilen@winuae.net>
Wed, 21 Jun 2017 17:46:01 +0000 (20:46 +0300)
inputdevice.cpp

index 8d6d8c342f9ef92771fc19a88aac177b3c3941d0..62650154d4d7b8cabbfc23284208dccc0e0fe15b 100644 (file)
@@ -1425,7 +1425,7 @@ void read_inputdevice_config (struct uae_prefs *pr, const TCHAR *option, TCHAR *
        if (!strcasecmp (p, _T("autoswitch")))
                pr->input_autoswitch = _tstol (value);
        if (!strcasecmp (p, _T("keyboard_type"))) {
-               cfgfile_strval (option, value, NULL, &pr->input_analog_joystick_offset, kbtypes, 0);
+               cfgfile_strval (option, value, NULL, &pr->input_keyboard_type, kbtypes, 0);
                keyboard_default = keyboard_default_table[pr->input_keyboard_type];
                inputdevice_default_kb_all (pr);
        }