mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
fixed usage of uninitialized members in kbdc8042_device (nw)
This commit is contained in:
parent
ec13217c5f
commit
2f52162e8a
@ -227,6 +227,8 @@ void kbdc8042_device::device_start()
|
||||
m_output_buffer_empty_cb.resolve_safe();
|
||||
m_speaker_cb.resolve();
|
||||
m_operation_write_state = 0; /* first write to 0x60 might occur before anything can set this */
|
||||
memset(&m_keyboard, 0x00, sizeof(m_keyboard));
|
||||
memset(&m_mouse, 0x00, sizeof(m_mouse));
|
||||
}
|
||||
|
||||
/*-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user