summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sm7238.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sm7238.cpp')
-rw-r--r--src/mame/drivers/sm7238.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/sm7238.cpp b/src/mame/drivers/sm7238.cpp
index d26b6206710..05b9fb1d65b 100644
--- a/src/mame/drivers/sm7238.cpp
+++ b/src/mame/drivers/sm7238.cpp
@@ -360,7 +360,8 @@ static MACHINE_CONFIG_START( sm7238 )
MCFG_PALETTE_INIT_OWNER(sm7238_state, sm7238)
MCFG_GFXDECODE_ADD("gfxdecode", "palette", sm7238)
- MCFG_PIC8259_ADD("pic8259", INPUTLINE("maincpu", 0), VCC, NOOP)
+ MCFG_DEVICE_ADD("pic8259", PIC8259, 0)
+ MCFG_PIC8259_OUT_INT_CB(INPUTLINE("maincpu", 0))
MCFG_DEVICE_ADD("t_hblank", PIT8253, 0)
MCFG_PIT8253_CLK1(XTAL_16_384MHz/9) // XXX workaround -- keyboard is slower and doesn't sync otherwise