Previous 199869 Revisions Next

r18168 Wednesday 26th September, 2012 at 19:26:18 UTC by hap
fix stupid bug, IN1 was never read here
[src/mame/drivers]vicdual.c

trunk/src/mame/drivers/vicdual.c
r18167r18168
730730   UINT8 ret = 0;
731731
732732   if (offset & 0x01)  ret = ioport("IN0")->read();
733   if (offset & 0x02)  /* schematics show this as in input port, but never read from */
733   if (offset & 0x02) { /* schematics show this as in input port, but never read from */ }
734734   if (offset & 0x04)  ret = ioport("IN1")->read();
735735   if (offset & 0x08)  ret = ioport("IN2")->read();
736736   if (offset & 0x12)  logerror("********* Read from port %x\n", offset);
r18167r18168
824824   PORT_COIN
825825INPUT_PORTS_END
826826
827
827828/* this actually seems to ignore the dipswitches and is hardcoded to 2 coins 1 credit, and 2 lives */
828829static INPUT_PORTS_START( car2 )
829830   PORT_START("IN0")
r18167r18168
857858   PORT_COIN
858859INPUT_PORTS_END
859860
861
860862static INPUT_PORTS_START( digger )
861863   PORT_START("IN0")
862864   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team