From 1ad21c5a9ae16d234ab6bc98420616945d8f1d8d Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sat, 28 Oct 2023 18:06:00 +0200 Subject: [PATCH] enhancement: don't disable CD drive if no image path is specified (#1129) When a config is loaded, if it contained a CD image path entry but the path was empty, the CD drive was also disabled. --- src/cfgfile.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cfgfile.cpp b/src/cfgfile.cpp index f35062112..8e0c0df99 100644 --- a/src/cfgfile.cpp +++ b/src/cfgfile.cpp @@ -3618,7 +3618,6 @@ static int cfgfile_parse_host (struct uae_prefs *p, TCHAR *option, TCHAR *value) p->cdslots[i].type = type; if (path[0] == 0 || !_tcsicmp(path, _T("empty")) || !_tcscmp(path, _T("."))) { p->cdslots[i].name[0] = 0; - p->cdslots[i].inuse = false; } if (path != value) { xfree(path);