diff options
| author | 2011-05-05 20:19:18 +0000 | |
|---|---|---|
| committer | 2011-05-05 20:19:18 +0000 | |
| commit | aa36ff470a87bd06fa29f1b0e18dd392a2804330 (patch) | |
| tree | a08e4f85eeedd4c0088ffdf21812ae181337be26 | |
| parent | 6605e70546e441d5af6f108d468a798ee02b763b (diff) | |
6840ptm.c: Fixed mode check in set_gate() [J Wallace]
| -rw-r--r-- | src/emu/machine/6840ptm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/6840ptm.c b/src/emu/machine/6840ptm.c index 6b909c35a7f..83dc27d824b 100644 --- a/src/emu/machine/6840ptm.c +++ b/src/emu/machine/6840ptm.c @@ -644,7 +644,7 @@ void ptm6840_device::timeout(int idx) void ptm6840_device::set_gate(int idx, int state) { - if ( (m_mode[idx] == 0) || (m_mode[idx] == 2) || (m_mode[0] == 4) || (m_mode[idx] == 6) ) + if ((m_mode[idx] & 1) == 0) { if (state == 0 && m_gate[idx]) { |
