From 58f8d6808ff05b680b8a96962d67debbd9d7e8c4 Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 25 Feb 2023 22:53:20 -0500 Subject: apple2gs: correct scanline interrupt position relative to the screen. [R. Belmont, Peter Ferrie] --- src/mame/apple/apple2gs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/apple/apple2gs.cpp b/src/mame/apple/apple2gs.cpp index e06bbd457c1..a714fd112b0 100644 --- a/src/mame/apple/apple2gs.cpp +++ b/src/mame/apple/apple2gs.cpp @@ -1002,10 +1002,10 @@ TIMER_DEVICE_CALLBACK_MEMBER(apple2gs_state::apple2_interrupt) m_screen->update_partial(scanline); /* check scanline interrupt bits if we're in super hi-res and the current scanline is within the active display area */ - if ((m_video->get_newvideo() & 0x80) && (scanline >= (BORDER_TOP-1)) && (scanline < (200+BORDER_TOP-1))) + if ((m_video->get_newvideo() & 0x80) && (scanline >= BORDER_TOP) && (scanline < (200+BORDER_TOP))) { u8 scb; - const int shrline = scanline - BORDER_TOP + 1; + const int shrline = scanline - BORDER_TOP; if (shrline & 1) { -- cgit v1.2.3