mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
apple2gs: correct scanline interrupt position relative to the screen. [R. Belmont, Peter Ferrie]
This commit is contained in:
parent
332a3b2145
commit
58f8d6808f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user