i8279: Fix accidentally uncovered crash in turbo (nw)

This device emulation is anything but robust.
This commit is contained in:
AJR 2020-02-25 16:21:27 -05:00
parent 415eef9910
commit 9b49a98cce

View file

@ -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