From: Toni Wilen Date: Mon, 17 May 2021 17:04:37 +0000 (+0300) Subject: islinetoggle wrong chipset type fix. X-Git-Tag: 4900~135 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=eb92f4fb4ee6a6d9bece584ec0a10805f1d23f82;p=francis%2Fwinuae.git islinetoggle wrong chipset type fix. --- diff --git a/custom.cpp b/custom.cpp index 22cab6ea..0d74a64b 100644 --- a/custom.cpp +++ b/custom.cpp @@ -1334,9 +1334,9 @@ int get_bitplane_dma_rel(int hpos, int off) static int islinetoggle(void) { int linetoggle = 0; - if (!(beamcon0 & 0x0800) && !(beamcon0 & 0x0020) && aga_mode) { + if (!(beamcon0 & 0x0800) && !(beamcon0 & 0x0020) && ecs_agnus) { linetoggle = 1; // NTSC and !LOLDIS -> LOL toggles every line - } else if (!aga_mode && currprefs.ntscmode) { + } else if (!ecs_agnus && currprefs.ntscmode) { linetoggle = 1; // hardwired NTSC Agnus } return linetoggle;