src/mess/video/hd61830.c
| r10000 | r10001 | |
| 207 | 207 | // resolve callbacks |
| 208 | 208 | devcb_resolve_read8(&m_in_rd_func, &m_config.m_in_rd_func, this); |
| 209 | 209 | |
| 210 | m_screen = machine->device<screen_device>(m_config.screen_tag); |
| 211 | |
| 210 | 212 | // register for state saving |
| 211 | 213 | state_save_register_device_item(this, 0, m_bf); |
| 212 | 214 | state_save_register_device_item(this, 0, m_ir); |
| r10000 | r10001 | |
| 539 | 541 | pixel = m_cursor ? 1 : 0; |
| 540 | 542 | } |
| 541 | 543 | |
| 542 | | *BITMAP_ADDR16(bitmap, sy, sx) = pixel; |
| 544 | if (sy < m_screen->height() && sx < m_screen->width()) |
| 545 | *BITMAP_ADDR16(bitmap, sy, sx) = pixel; |
| 543 | 546 | } |
| 544 | 547 | } |
| 545 | 548 | } |