mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
i8279: Fix accidentally uncovered crash in turbo (nw)
This device emulation is anything but robust.
This commit is contained in:
parent
a74e8df5e0
commit
e35907e54e
@ -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 New Issue
Block a user