mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
reverted bogus tms9928a_device::device_timer() optimization (nw)
This commit is contained in:
parent
53d37d78dc
commit
8d838e8a0a
@ -282,7 +282,8 @@ void tms9928a_device::device_timer(emu_timer &timer, device_timer_id id, int par
|
||||
if ( y < 0 || y >= 192 || ! (m_Regs[1] & 0x40) )
|
||||
{
|
||||
/* Draw backdrop colour */
|
||||
memset(p, m_palette[BackColour], TMS9928A_TOTAL_HORZ);
|
||||
for ( int i = 0; i < TMS9928A_TOTAL_HORZ; i++ )
|
||||
p[i] = m_palette[BackColour];
|
||||
|
||||
/* vblank is set at the last cycle of the first inactive line */
|
||||
if ( y == 193 )
|
||||
@ -296,7 +297,8 @@ void tms9928a_device::device_timer(emu_timer &timer, device_timer_id id, int par
|
||||
/* Draw regular line */
|
||||
|
||||
/* Left border */
|
||||
memset(p, m_palette[BackColour], TMS9928A_HORZ_DISPLAY_START);
|
||||
for ( int i = 0; i < TMS9928A_HORZ_DISPLAY_START; i++ )
|
||||
p[i] = m_palette[BackColour];
|
||||
|
||||
/* Active display */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user