diff options
Diffstat (limited to 'src/mess/machine/svi318.c')
-rw-r--r-- | src/mess/machine/svi318.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mess/machine/svi318.c b/src/mess/machine/svi318.c index d7a8e93f0b6..131e9cc7168 100644 --- a/src/mess/machine/svi318.c +++ b/src/mess/machine/svi318.c @@ -313,16 +313,15 @@ READ8_MEMBER(svi318_state::svi318_fdc_irqdrq_r) return result; } -MC6845_UPDATE_ROW( svi806_crtc6845_update_row ) +MC6845_UPDATE_ROW( svi318_state::crtc_update_row ) { - svi318_state *state = device->machine().driver_data<svi318_state>(); - const rgb_t *palette = state->m_palette->palette()->entry_list_raw(); + const rgb_t *palette = m_palette->palette()->entry_list_raw(); int i; for( i = 0; i < x_count; i++ ) { int j; - UINT8 data = state->m_svi.svi806_gfx[ state->m_svi.svi806_ram->u8(( ma + i ) & 0x7FF) * 16 + ra ]; + UINT8 data = m_svi.svi806_gfx[ m_svi.svi806_ram->u8(( ma + i ) & 0x7FF) * 16 + ra ]; if ( i == cursor_x ) { |