From eb92f4fb4ee6a6d9bece584ec0a10805f1d23f82 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 17 May 2021 20:04:37 +0300 Subject: [PATCH] islinetoggle wrong chipset type fix. --- custom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3