trunk/src/emu/video/tms9928a.c
| r32208 | r32209 | |
| 282 | 282 | if ( y < 0 || y >= 192 || ! (m_Regs[1] & 0x40) ) |
| 283 | 283 | { |
| 284 | 284 | /* Draw backdrop colour */ |
| 285 | | for ( int i = 0; i < TMS9928A_TOTAL_HORZ; i++ ) |
| 286 | | p[i] = m_palette[BackColour]; |
| 285 | memset(p, m_palette[BackColour], TMS9928A_TOTAL_HORZ); |
| 287 | 286 | |
| 288 | 287 | /* vblank is set at the last cycle of the first inactive line */ |
| 289 | 288 | if ( y == 193 ) |
| r32208 | r32209 | |
| 297 | 296 | /* Draw regular line */ |
| 298 | 297 | |
| 299 | 298 | /* Left border */ |
| 300 | | for ( int i = 0; i < TMS9928A_HORZ_DISPLAY_START; i++ ) |
| 301 | | p[i] = m_palette[BackColour]; |
| 299 | memset(p, m_palette[BackColour], TMS9928A_HORZ_DISPLAY_START); |
| 302 | 300 | |
| 303 | 301 | /* Active display */ |
| 304 | 302 | |