mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
i8279: Fix accidentally uncovered crash in turbo (nw)
This device emulation is anything but robust.
This commit is contained in:
parent
415eef9910
commit
9b49a98cce
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue