summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mgavegas.cpp
diff options
context:
space:
mode:
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)