summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mstation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mstation.cpp')
-rw-r--r--src/mame/drivers/mstation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mstation.cpp b/src/mame/drivers/mstation.cpp
index bab0cac33ce..fd0528bb865 100644
--- a/src/mame/drivers/mstation.cpp
+++ b/src/mame/drivers/mstation.cpp
@@ -445,9 +445,9 @@ PALETTE_INIT_MEMBER(mstation_state, mstation)
MACHINE_CONFIG_START(mstation_state::mstation)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu",Z80, XTAL(4'000'000)) //unknown clock
- MCFG_CPU_PROGRAM_MAP(mstation_mem)
- MCFG_CPU_IO_MAP(mstation_io)
+ MCFG_DEVICE_ADD("maincpu",Z80, XTAL(4'000'000)) //unknown clock
+ MCFG_DEVICE_PROGRAM_MAP(mstation_mem)
+ MCFG_DEVICE_IO_MAP(mstation_io)
/* video hardware */
MCFG_SCREEN_ADD("screen", LCD)
@@ -472,7 +472,7 @@ MACHINE_CONFIG_START(mstation_state::mstation)
MCFG_TIMER_DRIVER_ADD_PERIODIC("kb_timer", mstation_state, mstation_kb_timer, attotime::from_hz(50))
MCFG_DEVICE_ADD("rtc", RP5C01, XTAL(32'768))
- MCFG_RP5C01_OUT_ALARM_CB(WRITELINE(mstation_state, rtc_irq))
+ MCFG_RP5C01_OUT_ALARM_CB(WRITELINE(*this, mstation_state, rtc_irq))
MCFG_DEVICE_ADD("bank0", ADDRESS_MAP_BANK, 0)
MCFG_DEVICE_PROGRAM_MAP(mstation_banked_map)