summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nibble.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nibble.cpp')
-rw-r--r--src/mame/drivers/nibble.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/nibble.cpp b/src/mame/drivers/nibble.cpp
index 4b6c764c9e3..7080295d298 100644
--- a/src/mame/drivers/nibble.cpp
+++ b/src/mame/drivers/nibble.cpp
@@ -355,9 +355,10 @@ MACHINE_CONFIG_START(nibble_state::nibble)
MCFG_PALETTE_ADD("palette", 0x200)
- MCFG_MC6845_ADD("crtc", MC6845, "screen", MASTER_CLOCK/8) /* guess */
- MCFG_MC6845_SHOW_BORDER_AREA(false)
- MCFG_MC6845_CHAR_WIDTH(8)
+ mc6845_device &crtc(MC6845(config, "crtc", MASTER_CLOCK/8)); /* guess */
+ crtc.set_screen("screen");
+ crtc.set_show_border_area(false);
+ crtc.set_char_width(8);
SPEAKER(config, "mono").front_center();
AY8910(config, "aysnd", MASTER_CLOCK/8).add_route(ALL_OUTPUTS, "mono", 0.50);