summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pktgaldx.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-08-31 07:48:58 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-08-31 07:49:37 -0400
commitc64933be0e4ecc53569c7d11e3ebf80bd18e54c1 (patch)
treea96cad0e7ce4af2fc18e7993cc8f2e0e62f0849b /src/mame/drivers/pktgaldx.cpp
parentb1da9c903db390251f964f7da2e2f5ea9f816273 (diff)
deco146: Use DEVCB for input ports and explicitly define these in all drivers (nw)
Diffstat (limited to 'src/mame/drivers/pktgaldx.cpp')
-rw-r--r--src/mame/drivers/pktgaldx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/pktgaldx.cpp b/src/mame/drivers/pktgaldx.cpp
index 28be685e28e..fee476e519b 100644
--- a/src/mame/drivers/pktgaldx.cpp
+++ b/src/mame/drivers/pktgaldx.cpp
@@ -370,6 +370,9 @@ static MACHINE_CONFIG_START( pktgaldx )
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
MCFG_DECO104_ADD("ioprot104")
+ MCFG_DECO146_IN_PORTA_CB(IOPORT("INPUTS"))
+ MCFG_DECO146_IN_PORTB_CB(IOPORT("SYSTEM"))
+ MCFG_DECO146_IN_PORTC_CB(IOPORT("DSW"))
MCFG_DECO146_SET_INTERFACE_SCRAMBLE(8,9, 4,5,6,7 ,1,0,3,2) // hopefully this is correct, nothing else uses this arrangement!
/* sound hardware */