mirror of
https://github.com/holub/mame
synced 2025-05-02 12:36:41 +03:00
peplus: fix CID: 138606 "Logical vs. bitwise operator"
This commit is contained in:
parent
304be1a1d6
commit
6b5e155c0d
@ -795,7 +795,7 @@ READ8_MEMBER(peplus_state::peplus_input0_r)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_bv_pulse == 1) {
|
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 {
|
} else {
|
||||||
return m_in0->read();
|
return m_in0->read();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user