summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author DavidHaywood <28625134+DavidHaywood@users.noreply.github.com>2018-08-27 01:53:28 +0100
committer Vas Crabb <vas@vastheman.com>2018-08-27 12:28:02 +1000
commit0fb70e2a2c1711d46e223f46280163817af724c7 (patch)
treecb29daf62f54196db5d350df922421af774ae123 /src/mame/drivers
parentc87777a0155f20c48e1f313814dbefac4bba0ef4 (diff)
actually properly disable opwolf protection simulation, fix coin counters (nw)
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/opwolf.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/opwolf.cpp b/src/mame/drivers/opwolf.cpp
index 1cfcd4607b0..aea737e107f 100644
--- a/src/mame/drivers/opwolf.cpp
+++ b/src/mame/drivers/opwolf.cpp
@@ -333,12 +333,10 @@ READ8_MEMBER(opwolf_state::z80_input2_r)
WRITE8_MEMBER(opwolf_state::counters_w)
{
- //logerror("counters_w data=%2x\n",data );
-
machine().bookkeeping().coin_lockout_w(1, data & 0x80);
machine().bookkeeping().coin_lockout_w(0, data & 0x40);
- machine().bookkeeping().coin_counter_w(1, data & 0x20);
- machine().bookkeeping().coin_counter_w(0, data & 0x10);
+ machine().bookkeeping().coin_counter_w(1, ~data & 0x20);
+ machine().bookkeeping().coin_counter_w(0, ~data & 0x10);
}
/******************************************************
@@ -1157,7 +1155,7 @@ void opwolf_state::init_opwolf()
m_opwolf_region = rom[0x03fffe / 2] & 0xff;
- opwolf_cchip_init();
+ //opwolf_cchip_init(); // start old simulation, including periodic timer
// World & US version have different gun offsets, presumably slightly different gun hardware
m_opwolf_gun_xoffs = 0xec - (rom[0x03ffb0 / 2] & 0xff);