]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Missing masking.
authorToni Wilen <twilen@winuae.net>
Tue, 13 Sep 2016 15:03:14 +0000 (18:03 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 13 Sep 2016 15:03:14 +0000 (18:03 +0300)
expansion.cpp

index 8dd85401660bea781d7908c0f63980968b54acc2..9ace6198e7f7943212268af5da3e0ec4587857f5 100644 (file)
@@ -1475,7 +1475,7 @@ static void fastmem_autoconfig(struct uae_prefs *p, struct autoconfig_info *aci,
                for (int i = 0; i < 16; i++) {
                        ac[i] = forceac[i];
                        ac[0] &= ~7;
-                       ac[0] |= type;
+                       ac[0] |= type & 7;
                        if (flags)
                                ac[0x08 / 4] = flags;
                }