Skip to content

Commit 50ff6c7

Browse files
committed
winrun: shifter was the wrong way around
1 parent 82220b5 commit 50ff6c7

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

src/mame/namco/namco_c148.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class namco_c148_device : public device_t
2222
public:
2323
// construction/destruction
2424
template <typename T>
25-
namco_c148_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&hostcpu, bool is_master)
26-
: namco_c148_device(mconfig, tag, owner, clock)
25+
namco_c148_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&hostcpu, bool is_master) :
26+
namco_c148_device(mconfig, tag, owner, clock)
2727
{
2828
set_hostcpu(std::forward<T>(hostcpu), is_master);
2929
}
@@ -84,7 +84,6 @@ class namco_c148_device : public device_t
8484
uint8_t get_posirq_line();
8585

8686
protected:
87-
void cpu_irq_trigger();
8887
// device-level overrides
8988
virtual void device_validity_check(validity_checker &valid) const override;
9089
virtual void device_start() override ATTR_COLD;
@@ -108,7 +107,9 @@ class namco_c148_device : public device_t
108107

109108
uint8_t m_posirq_line;
110109
uint8_t m_bus_reg;
110+
111111
void flush_irq_acks();
112+
void cpu_irq_trigger();
112113
};
113114

114115

src/mame/namco/namcos21.cpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,9 @@ static INPUT_PORTS_START( winrun )
659659
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
660660
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
661661
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
662-
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Down")
662+
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Down")
663663
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
664-
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_NAME("Shift Up")
664+
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_NAME("Shift Up")
665665
PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
666666

667667
PORT_START("DSW") /* 63B05Z0 - $2000 DIP SW */
@@ -748,8 +748,6 @@ void namcos21_state::machine_reset()
748748
reset_all_subcpus(ASSERT_LINE);
749749
}
750750

751-
752-
753751
void namcos21_state::machine_start()
754752
{
755753
u32 max = memregion("audiocpu")->bytes() / 0x4000;
@@ -964,8 +962,8 @@ ROM_START( winrungp )
964962
ROM_LOAD16_BYTE( "sg1-pt1-l.8e", 0x40001, 0x20000, CRC(6385e325) SHA1(d50bceb2e9c0d0a38d7b0f918f99c482649e260d) )
965963

966964
ROM_REGION16_BE( 0x400000, "c140", ROMREGION_ERASE00 ) /* sound samples */
967-
ROM_LOAD16_BYTE("sg-voi-1.11c", 0x100000, 0x80000,CRC(7dcccb31) SHA1(4441b37691434b13eae5dee2d04dc12a56b04d2a) )
968-
ROM_LOAD16_BYTE("sg-voi-3.11e", 0x300000, 0x80000,CRC(a198141c) SHA1(b4ca352e6aedd9d7a7e5e39e840f1d3a7145900e) )
965+
ROM_LOAD16_BYTE("sg-voi-1.11c", 0x100000, 0x80000, CRC(7dcccb31) SHA1(4441b37691434b13eae5dee2d04dc12a56b04d2a) )
966+
ROM_LOAD16_BYTE("sg-voi-3.11e", 0x300000, 0x80000, CRC(a198141c) SHA1(b4ca352e6aedd9d7a7e5e39e840f1d3a7145900e) )
969967

970968
ROM_REGION( 0x2000, "nvram", 0 ) /* default settings, including calibration */
971969
ROM_LOAD( "nvram", 0x0000, 0x2000, CRC(93cca84c) SHA1(e39510d9f066266a77780662a6d991c3dd0348d1) )
@@ -1011,8 +1009,8 @@ ROM_START( winrun91 )
10111009
ROM_LOAD16_BYTE( "r911-pt1l.8e", 0x40001, 0x20000, CRC(38a54ec5) SHA1(5c6017c98cae674868153ff2d64532027cf0ab83) )
10121010

10131011
ROM_REGION16_BE( 0x400000, "c140", ROMREGION_ERASE00 ) /* sound samples */
1014-
ROM_LOAD16_BYTE("r911-avo1.11c", 0x100000, 0x80000,CRC(9fb33af3) SHA1(666630a8e5766ca4c3275961963c3e713dfdda2d) )
1015-
ROM_LOAD16_BYTE("r911-avo3.11e", 0x300000, 0x80000,CRC(76e22f92) SHA1(0e1b8d35a5b9c20cc3192d935f0c9da1e69679d2) )
1012+
ROM_LOAD16_BYTE("r911-avo1.11c", 0x100000, 0x80000, CRC(9fb33af3) SHA1(666630a8e5766ca4c3275961963c3e713dfdda2d) )
1013+
ROM_LOAD16_BYTE("r911-avo3.11e", 0x300000, 0x80000, CRC(76e22f92) SHA1(0e1b8d35a5b9c20cc3192d935f0c9da1e69679d2) )
10161014

10171015
ROM_REGION( 0x2000, "nvram", 0 ) /* default settings, including calibration */
10181016
ROM_LOAD( "nvram", 0x0000, 0x2000, CRC(75bcbc22) SHA1(1e7e785735d27aa8cd8393b16b589a46ecd7956a) )

0 commit comments

Comments
 (0)