summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/coinmstr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/coinmstr.cpp')
-rw-r--r--src/mame/drivers/coinmstr.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/coinmstr.cpp b/src/mame/drivers/coinmstr.cpp
index 555a42a4ed0..69ad7079b9f 100644
--- a/src/mame/drivers/coinmstr.cpp
+++ b/src/mame/drivers/coinmstr.cpp
@@ -1284,9 +1284,10 @@ MACHINE_CONFIG_START(coinmstr_state::coinmstr)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_coinmstr)
MCFG_PALETTE_ADD("palette", 46*32*4)
- MCFG_MC6845_ADD("crtc", H46505, "screen", 14000000 / 16)
- MCFG_MC6845_SHOW_BORDER_AREA(false)
- MCFG_MC6845_CHAR_WIDTH(8)
+ h46505_device &crtc(H46505(config, "crtc", 14000000 / 16));
+ crtc.set_screen("screen");
+ crtc.set_show_border_area(false);
+ crtc.set_char_width(8);
/* sound hardware */
SPEAKER(config, "mono").front_center();