fix vblank start timing

This commit is contained in:
Michaël Banaan Ananas 2011-12-15 03:50:36 +00:00
parent 333575cf71
commit 7a27032edb

View File

@ -284,8 +284,8 @@ void tms9928a_device::device_timer(emu_timer &timer, device_timer_id id, int par
for ( int i = 0; i < TMS9928A_TOTAL_HORZ; i++ )
p[i] = BackColour;
/* Check for end of active display */
if ( y == 192 )
/* vblank is set 1 line after end of active display */
if ( y == 193 )
{
m_StatusReg |= 0x80;
check_interrupt();