Previous 199869 Revisions Next

r32210 Friday 19th September, 2014 at 15:00:42 UTC by Oliver Stöneberg
reverted bogus tms9928a_device::device_timer() optimization (nw)
[src/emu/video]tms9928a.c

trunk/src/emu/video/tms9928a.c
r32209r32210
282282   if ( y < 0 || y >= 192 || ! (m_Regs[1] & 0x40) )
283283   {
284284      /* Draw backdrop colour */
285      memset(p, m_palette[BackColour], TMS9928A_TOTAL_HORZ);
285      for ( int i = 0; i < TMS9928A_TOTAL_HORZ; i++ )
286         p[i] = m_palette[BackColour];
286287
287288      /* vblank is set at the last cycle of the first inactive line */
288289      if ( y == 193 )
r32209r32210
296297      /* Draw regular line */
297298
298299      /* Left border */
299      memset(p, m_palette[BackColour], TMS9928A_HORZ_DISPLAY_START);
300      for ( int i = 0; i < TMS9928A_HORZ_DISPLAY_START; i++ )
301         p[i] = m_palette[BackColour];
300302
301303      /* Active display */
302304

Previous 199869 Revisions Next


© 1997-2024 The MAME Team