summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/royalmah.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/royalmah.cpp')
-rw-r--r--src/mame/drivers/royalmah.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/royalmah.cpp b/src/mame/drivers/royalmah.cpp
index 44d3688df4f..09139626784 100644
--- a/src/mame/drivers/royalmah.cpp
+++ b/src/mame/drivers/royalmah.cpp
@@ -3590,9 +3590,10 @@ MACHINE_CONFIG_START(royalmah_state::janyoup2)
MCFG_DEVICE_CLOCK(XTAL(18'432'000)/4) // unknown divider
MCFG_DEVICE_IO_MAP(janyoup2_iomap)
- MCFG_MC6845_ADD("crtc", H46505, "screen", XTAL(18'432'000)/12) // unknown divider
- MCFG_MC6845_SHOW_BORDER_AREA(false)
- MCFG_MC6845_CHAR_WIDTH(4)
+ h46505_device &crtc(H46505(config, "crtc", XTAL(18'432'000)/12)); // unknown divider
+ crtc.set_screen("screen");
+ crtc.set_show_border_area(false);
+ crtc.set_char_width(4);
MACHINE_CONFIG_END
MACHINE_CONFIG_START(royalmah_state::seljan)