mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Fix ninjaw and darius2 (nw)
This commit is contained in:
parent
e61fc8189b
commit
16d40d5824
@ -865,13 +865,13 @@ static MACHINE_CONFIG_START( darius2 )
|
||||
|
||||
MCFG_QUANTUM_TIME(attotime::from_hz(6000)) /* CPU slices */
|
||||
|
||||
MCFG_DEVICE_ADD("tc0220ioc", TC0220IOC, 0)
|
||||
MCFG_TC0220IOC_READ_0_CB(IOPORT("DSWA"))
|
||||
MCFG_TC0220IOC_READ_1_CB(IOPORT("DSWB"))
|
||||
MCFG_TC0220IOC_READ_2_CB(IOPORT("IN0"))
|
||||
MCFG_TC0220IOC_READ_3_CB(IOPORT("IN1"))
|
||||
MCFG_TC0220IOC_WRITE_4_CB(WRITE8(ninjaw_state, coin_control_w))
|
||||
MCFG_TC0220IOC_READ_7_CB(IOPORT("IN2"))
|
||||
MCFG_DEVICE_ADD("tc0040ioc", TC0040IOC, 0)
|
||||
MCFG_TC0040IOC_READ_0_CB(IOPORT("DSWA"))
|
||||
MCFG_TC0040IOC_READ_1_CB(IOPORT("DSWB"))
|
||||
MCFG_TC0040IOC_READ_2_CB(IOPORT("IN0"))
|
||||
MCFG_TC0040IOC_READ_3_CB(IOPORT("IN1"))
|
||||
MCFG_TC0040IOC_WRITE_4_CB(WRITE8(ninjaw_state, coin_control_w))
|
||||
MCFG_TC0040IOC_READ_7_CB(IOPORT("IN2"))
|
||||
|
||||
/* video hardware */
|
||||
MCFG_GFXDECODE_ADD("gfxdecode", "palette", ninjaw)
|
||||
|
@ -27,7 +27,6 @@ public:
|
||||
m_tc0110pcr_1(*this, "tc0110pcr_1"),
|
||||
m_tc0110pcr_2(*this, "tc0110pcr_2"),
|
||||
m_tc0110pcr_3(*this, "tc0110pcr_3"),
|
||||
m_tc0220ioc(*this, "tc0220ioc"),
|
||||
m_2610_1l(*this, "2610.1.l"),
|
||||
m_2610_1r(*this, "2610.1.r"),
|
||||
m_2610_2l(*this, "2610.2.l"),
|
||||
@ -46,7 +45,6 @@ public:
|
||||
required_device<tc0110pcr_device> m_tc0110pcr_1;
|
||||
required_device<tc0110pcr_device> m_tc0110pcr_2;
|
||||
required_device<tc0110pcr_device> m_tc0110pcr_3;
|
||||
required_device<tc0220ioc_device> m_tc0220ioc;
|
||||
required_device<filter_volume_device> m_2610_1l;
|
||||
required_device<filter_volume_device> m_2610_1r;
|
||||
required_device<filter_volume_device> m_2610_2l;
|
||||
|
Loading…
Reference in New Issue
Block a user