diff options
Diffstat (limited to 'src/devices/machine/i8279.cpp')
-rw-r--r-- | src/devices/machine/i8279.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/machine/i8279.cpp b/src/devices/machine/i8279.cpp index c030bae7b1d..12f2a7cd6dd 100644 --- a/src/devices/machine/i8279.cpp +++ b/src/devices/machine/i8279.cpp @@ -277,6 +277,10 @@ void i8279_device::timer_mainloop() bool ctrl_key = 1; bool strobe_pulse = 0; + // hack to prevent infinite loops + if (decoded && m_scanner == 0) + m_scanner = 1; + // keyboard // type 0 = kbd, 2-key lockout // type 1 = kdb, n-key |