summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rad_eu3a05.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rad_eu3a05.cpp')
-rw-r--r--src/mame/drivers/rad_eu3a05.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/rad_eu3a05.cpp b/src/mame/drivers/rad_eu3a05.cpp
index 3023e666128..b2f7b73f1b0 100644
--- a/src/mame/drivers/rad_eu3a05.cpp
+++ b/src/mame/drivers/rad_eu3a05.cpp
@@ -1168,8 +1168,8 @@ MACHINE_CONFIG_START(radica_eu3a05_state::radicasi)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_radicasi_fake)
- MCFG_DEVICE_ADD("gpio", RADICA6502_GPIO, 0)
- MCFG_RADICA6502_GPIO_READ_PORT0_CB(IOPORT("IN0"))
+ radica6502_gpio_device &gpio(RADICA6502_GPIO(config, "gpio", 0));
+ gpio.read_0_callback().set_ioport("IN0");
/* sound hardware */
SPEAKER(config, "mono").front_center();