From: Toni Wilen Date: Fri, 25 Jul 2025 16:12:23 +0000 (+0300) Subject: Fix fast mode drawing with 32-bit chip ram. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=90e8cdb5256147902f4cdbb50329fc2cd2ee7920;p=francis%2Fwinuae.git Fix fast mode drawing with 32-bit chip ram. --- diff --git a/custom.cpp b/custom.cpp index 97b38413..fa81f95c 100644 --- a/custom.cpp +++ b/custom.cpp @@ -10745,7 +10745,10 @@ static bool draw_line_fast(struct linestate *l, int ldv, uaecptr bplptp[8], bool int colors = getcolorcount(planes); int len = l->bpllen; for (int i = 0; i < planes; i++) { - uaecptr pt = bplptp[i] & chipmem_bank.mask; + uaecptr pt = bplptp[i]; + if (!currprefs.z3chipmem.size) { + pt &= chipmem_bank.mask; + } if (!valid_address(pt, len)) { return false; }