mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
fix kbm3rd keyboard error(nw)
This commit is contained in:
parent
a8dec7ae70
commit
b7a5efe5b7
@ -11,6 +11,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] =
|
||||
{
|
||||
@ -73,6 +79,7 @@ void midi_keyboard_device::device_timer(emu_timer &timer, device_timer_id id, in
|
||||
if(is_transmit_register_empty())
|
||||
tra_complete();
|
||||
}
|
||||
}
|
||||
|
||||
void midi_keyboard_device::device_start()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user