summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/peplus.cpp
diff options
context:
space:
mode:
author Sergey Svishchev <shattered@users.noreply.github.com>2017-03-10 02:55:44 +0300
committer Sergey Svishchev <shattered@users.noreply.github.com>2017-03-11 02:21:53 +0300
commit6b5e155c0dd99fd618760c2457a541a904e1bec3 (patch)
treed5ea7ff8c3eb4e306130529eaf3e33939a37fdf7 /src/mame/drivers/peplus.cpp
parent304be1a1d6d95bff1ac7fd79d48c1f0a05c043cc (diff)
peplus: fix CID: 138606 "Logical vs. bitwise operator"
Diffstat (limited to 'src/mame/drivers/peplus.cpp')
-rw-r--r--src/mame/drivers/peplus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/peplus.cpp b/src/mame/drivers/peplus.cpp
index 3dd638353cf..d8c7511772c 100644
--- a/src/mame/drivers/peplus.cpp
+++ b/src/mame/drivers/peplus.cpp
@@ -795,7 +795,7 @@ READ8_MEMBER(peplus_state::peplus_input0_r)
}
if (m_bv_pulse == 1) {
- return (0x70 || m_in0->read()); // Add Bill Validator Credit Pulse
+ return (0x70 | m_in0->read()); // Add Bill Validator Credit Pulse
} else {
return m_in0->read();
}