diff options
Diffstat (limited to 'src/devices/bus/c64/xl80.cpp')
-rw-r--r-- | src/devices/bus/c64/xl80.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/c64/xl80.cpp b/src/devices/bus/c64/xl80.cpp index f6f5162aa1e..bdebc02a288 100644 --- a/src/devices/bus/c64/xl80.cpp +++ b/src/devices/bus/c64/xl80.cpp @@ -133,10 +133,11 @@ MACHINE_CONFIG_START(c64_xl80_device::device_add_mconfig) MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_c64_xl80) MCFG_PALETTE_ADD_MONOCHROME("palette") - MCFG_MC6845_ADD(HD46505SP_TAG, H46505, MC6845_SCREEN_TAG, XTAL(14'318'181) / 8) - MCFG_MC6845_SHOW_BORDER_AREA(true) - MCFG_MC6845_CHAR_WIDTH(8) - MCFG_MC6845_UPDATE_ROW_CB(c64_xl80_device, crtc_update_row) + H46505(config, m_crtc, XTAL(14'318'181) / 8); + m_crtc->set_screen(MC6845_SCREEN_TAG); + m_crtc->set_show_border_area(true); + m_crtc->set_char_width(8); + m_crtc->set_update_row_callback(FUNC(c64_xl80_device::crtc_update_row), this); MACHINE_CONFIG_END |