From ebbb9c7f18382b7205a008e518a152c2d4280bfb Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 13 Sep 2016 18:03:14 +0300 Subject: [PATCH] Missing masking. --- expansion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expansion.cpp b/expansion.cpp index 8dd85401..9ace6198 100644 --- a/expansion.cpp +++ b/expansion.cpp @@ -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; } -- 2.47.3