From c64933be0e4ecc53569c7d11e3ebf80bd18e54c1 Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 31 Aug 2017 07:48:58 -0400 Subject: deco146: Use DEVCB for input ports and explicitly define these in all drivers (nw) --- src/mame/drivers/sshangha.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mame/drivers/sshangha.cpp') 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? */ -- cgit v1.2.3