]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix platform specific hardware only config
authorToni Wilen <twilen@winuae.net>
Mon, 2 Jan 2023 18:47:38 +0000 (20:47 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 2 Jan 2023 18:47:38 +0000 (20:47 +0200)
cfgfile.cpp

index 674ea74daa85c849ea46d9c61ada8bdf4c867be4..79268fd135eff21363c3bbcbb20a542983f47772 100644 (file)
@@ -5653,6 +5653,7 @@ static int cfgfile_parse_hardware (struct uae_prefs *p, const TCHAR *option, TCH
                _tcscpy(tmpbuf, option);
                tmpbuf[tmpp - option] = 0;
                if (_tcscmp(tmpbuf, TARGET_NAME) == 0) {
+                       option = tmpp + 1;
                        return target_parse_option(p, option, value, CONFIG_TYPE_HARDWARE);
                }
        }