mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
fix kbm3rd keyboard error(nw)
This commit is contained in:
parent
a8dec7ae70
commit
b7a5efe5b7
@ -12,6 +12,12 @@ midi_keyboard_device::midi_keyboard_device(const machine_config &mconfig, const
|
||||
|
||||
void midi_keyboard_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
|
||||
{
|
||||
if(id)
|
||||
{
|
||||
device_serial_interface::device_timer(timer, id, param, ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
const int keyboard_notes[24] =
|
||||
{
|
||||
0x3c, // C1
|
||||
@ -72,6 +78,7 @@ void midi_keyboard_device::device_timer(emu_timer &timer, device_timer_id id, in
|
||||
m_keyboard_state = kbstate;
|
||||
if(is_transmit_register_empty())
|
||||
tra_complete();
|
||||
}
|
||||
}
|
||||
|
||||
void midi_keyboard_device::device_start()
|
||||
|
Loading…
Reference in New Issue
Block a user