From: Toni Wilen Date: Mon, 2 Jan 2023 18:47:38 +0000 (+0200) Subject: Fix platform specific hardware only config X-Git-Tag: 41010~32 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=02a5f4880ac2c8ede3c7774372e52d7e87e39442;p=francis%2Fwinuae.git Fix platform specific hardware only config --- diff --git a/cfgfile.cpp b/cfgfile.cpp index 674ea74d..79268fd1 100644 --- a/cfgfile.cpp +++ b/cfgfile.cpp @@ -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); } }