summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/subsino.cpp
diff options
context:
space:
mode:
author Firehawke <Firehawke@users.noreply.github.com>2017-12-13 20:52:42 -0700
committer Firehawke <Firehawke@users.noreply.github.com>2017-12-13 20:52:42 -0700
commitf537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4 (patch)
tree7160ed8d2cbe2127aaaef0a21f8736403b0f8a7c /src/mame/drivers/subsino.cpp
parent0d70d798107d4e4e8fb9f230410aeb1e888d65c5 (diff)
parent6379bf581489df72694b1c42cc7436ca0f1d89b2 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/mame/drivers/subsino.cpp')
-rw-r--r--src/mame/drivers/subsino.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/subsino.cpp b/src/mame/drivers/subsino.cpp
index 4de5cf8ea5e..f76bc13a099 100644
--- a/src/mame/drivers/subsino.cpp
+++ b/src/mame/drivers/subsino.cpp
@@ -680,7 +680,7 @@ WRITE8_MEMBER(subsino_state::subsino_out_a_w)
machine().bookkeeping().coin_counter_w(2, data & 0x10 ); /* keyout */
machine().bookkeeping().coin_counter_w(3, data & 0x20 ); /* payout */
- m_hopper->write(space, 0, (data & 0x0020) ? 0x80 : 0); // hopper motor
+ m_hopper->motor_w(BIT(data, 5)); // hopper motor
// popmessage("Out A %02x",data);
}