summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galaxold.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galaxold.cpp')
-rw-r--r--src/mame/drivers/galaxold.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/galaxold.cpp b/src/mame/drivers/galaxold.cpp
index 9078dc63dd5..6832ef17b2e 100644
--- a/src/mame/drivers/galaxold.cpp
+++ b/src/mame/drivers/galaxold.cpp
@@ -727,7 +727,7 @@ void galaxold_state::hunchbkg_data(address_map &map)
}
-void galaxold_state::drivfrcg(address_map &map)
+void galaxold_state::drivfrcg_program(address_map &map)
{
map(0x0000, 0x0fff).rom();
map(0x1480, 0x14bf).mirror(0x6000).w(FUNC(galaxold_state::galaxold_attributesram_w)).share("attributesram");
@@ -2519,11 +2519,11 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(galaxold_state::drivfrcg)
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", S2650, MASTER_CLOCK/6)
- MCFG_DEVICE_PROGRAM_MAP(drivfrcg)
- MCFG_DEVICE_IO_MAP(drivfrcg_io)
- MCFG_DEVICE_VBLANK_INT_DRIVER("screen", galaxold_state, hunchbks_vh_interrupt)
- MCFG_S2650_SENSE_INPUT(READLINE("screen", screen_device, vblank)) // ???
+ s2650_device &maincpu(S2650(config, m_maincpu, MASTER_CLOCK/6));
+ maincpu.set_addrmap(AS_PROGRAM, &galaxold_state::drivfrcg_program);
+ maincpu.set_addrmap(AS_IO, &galaxold_state::drivfrcg_io);
+ maincpu.set_vblank_int("screen", FUNC(galaxold_state::hunchbks_vh_interrupt));
+ maincpu.sense_handler().set("screen", FUNC(screen_device::vblank));
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)