summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mgavegas.cpp
diff options
context:
space:
mode:
author Firehawke <Firehawke@users.noreply.github.com>2017-12-13 21:01:10 -0700
committer Firehawke <Firehawke@users.noreply.github.com>2017-12-13 21:01:10 -0700
commit54155441e9ba9941e85d80c4834a66376a11e791 (patch)
treeaa44bdaf0035cbe188d64c447f225f10f7d76d8d /src/mame/drivers/mgavegas.cpp
parentf537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4 (diff)
Revert "Merge branch 'master' of https://github.com/mamedev/mame"
This reverts commit f537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4, reversing changes made to 0d70d798107d4e4e8fb9f230410aeb1e888d65c5.
Diffstat (limited to 'src/mame/drivers/mgavegas.cpp')
-rw-r--r--src/mame/drivers/mgavegas.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/mgavegas.cpp b/src/mame/drivers/mgavegas.cpp
index 17025cb4b38..5f773e736b7 100644
--- a/src/mame/drivers/mgavegas.cpp
+++ b/src/mame/drivers/mgavegas.cpp
@@ -357,6 +357,7 @@ WRITE8_MEMBER(mgavegas_state::csoki_w)
WRITE8_MEMBER(mgavegas_state::cso1_w)
{
+ int hopper_data = 0x00;
if (LOG_CSO1)
logerror("write to CSO1 data = %02X\n",data);
@@ -371,7 +372,8 @@ WRITE8_MEMBER(mgavegas_state::cso1_w)
update_custom();
- m_ticket->motor_w(m_hop);
+ hopper_data=(m_hop&0x01)<<7;
+ m_ticket->write(machine().dummy_space(), 0, hopper_data);
}
WRITE8_MEMBER(mgavegas_state::cso2_w)