aboutsummaryrefslogtreecommitdiff
path: root/hw/slavio_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r--hw/slavio_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index 2b89c6d62a..b13e7c46f9 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -538,7 +538,7 @@ void slavio_serial_ms_kbd_init(int base, int irq)
slavio_serial_io_memory = cpu_register_io_memory(0, slavio_serial_mem_read, slavio_serial_mem_write, s);
cpu_register_physical_memory(base, SERIAL_MAXADDR, slavio_serial_io_memory);
- qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0]);
+ qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0], 0);
qemu_add_kbd_event_handler(sunkbd_event, &s->chn[1]);
qemu_register_reset(slavio_serial_reset, s);
slavio_serial_reset(s);