summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/apricotp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/apricotp.cpp')
-rw-r--r--src/mame/drivers/apricotp.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/apricotp.cpp b/src/mame/drivers/apricotp.cpp
index d61eeac5b0b..f8edcb96795 100644
--- a/src/mame/drivers/apricotp.cpp
+++ b/src/mame/drivers/apricotp.cpp
@@ -597,10 +597,11 @@ MACHINE_CONFIG_START(fp_state::fp)
MCFG_PALETTE_ADD("palette", 16)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_act_f1)
- MCFG_MC6845_ADD(MC6845_TAG, MC6845, SCREEN_CRT_TAG, 4000000)
- MCFG_MC6845_SHOW_BORDER_AREA(false)
- MCFG_MC6845_CHAR_WIDTH(8)
- MCFG_MC6845_UPDATE_ROW_CB(fp_state, update_row)
+ MC6845(config, m_crtc, 4000000);
+ m_crtc->set_screen(SCREEN_CRT_TAG);
+ m_crtc->set_show_border_area(false);
+ m_crtc->set_char_width(8);
+ m_crtc->set_update_row_callback(FUNC(fp_state::update_row), this);
// sound hardware
SPEAKER(config, "mono").front_center();