trunk/src/emu/video/tms9928a.c
| r32209 | r32210 | |
| 282 | 282 | if ( y < 0 || y >= 192 || ! (m_Regs[1] & 0x40) ) |
| 283 | 283 | { |
| 284 | 284 | /* 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]; |
| 286 | 287 | |
| 287 | 288 | /* vblank is set at the last cycle of the first inactive line */ |
| 288 | 289 | if ( y == 193 ) |
| r32209 | r32210 | |
| 296 | 297 | /* Draw regular line */ |
| 297 | 298 | |
| 298 | 299 | /* 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]; |
| 300 | 302 | |
| 301 | 303 | /* Active display */ |
| 302 | 304 | |