]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Don't add 1M CD32 ROM to both slots.
authorToni Wilen <twilen@winuae.net>
Mon, 4 Dec 2017 18:07:49 +0000 (20:07 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 4 Dec 2017 18:07:49 +0000 (20:07 +0200)
rommgr.cpp

index dfa968adbe60f91835bb73d9bdf76a69a46feaae..c8be1e0de01e695960275c47162b928827874b9e 100644 (file)
@@ -2033,7 +2033,7 @@ int configure_rom (struct uae_prefs *p, const int *rom, int msg)
        }
        if (rd->type & (ROMTYPE_KICK | ROMTYPE_KICKCD32))
                _tcscpy (p->romfile, path);
-       if (rd->type & (ROMTYPE_EXTCD32 | ROMTYPE_EXTCDTV | ROMTYPE_ARCADIABIOS | ROMTYPE_ALG))
+       if ((rd->type & (ROMTYPE_EXTCD32 | ROMTYPE_EXTCDTV | ROMTYPE_ARCADIABIOS | ROMTYPE_ALG)) && !(rd->type & ROMTYPE_KICKCD32))
                _tcscpy (p->romextfile, path);
        if (rd->type & ROMTYPE_CD32CART) {
                _tcscpy(p->cartfile, path);