summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sshangha.cpp
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2017-08-31 07:48:58 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2017-08-31 07:49:37 -0400
commitc64933be0e4ecc53569c7d11e3ebf80bd18e54c1 (patch) (github)
treea96cad0e7ce4af2fc18e7993cc8f2e0e62f0849b /src/mame/drivers/sshangha.cpp
parentb1da9c903db390251f964f7da2e2f5ea9f816273 (diff)
downloadmame-c64933be0e4ecc53569c7d11e3ebf80bd18e54c1.tar.bz2
mame-c64933be0e4ecc53569c7d11e3ebf80bd18e54c1.zip
deco146: Use DEVCB for input ports and explicitly define these in all drivers (nw)
Diffstat (limited to 'src/mame/drivers/sshangha.cpp')
-rw-r--r--src/mame/drivers/sshangha.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/sshangha.cpp b/src/mame/drivers/sshangha.cpp
index f6c3c2990d0..cf3769b8aa9 100644
--- a/src/mame/drivers/sshangha.cpp
+++ b/src/mame/drivers/sshangha.cpp
@@ -425,6 +425,9 @@ static MACHINE_CONFIG_START( sshangha )
MCFG_DECO_SPRITE_GFXDECODE("gfxdecode")
MCFG_DECO146_ADD("ioprot")
+ MCFG_DECO146_IN_PORTA_CB(IOPORT("INPUTS"))
+ MCFG_DECO146_IN_PORTB_CB(IOPORT("SYSTEM"))
+ MCFG_DECO146_IN_PORTC_CB(IOPORT("DSW"))
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker") /* sure it's stereo? */