Moved mouse_emu_init(); to after serial_init(); again, should fix serial mice.
This commit is contained in:
7
src/pc.c
7
src/pc.c
@@ -682,13 +682,16 @@ pc_reset_hard_init(void)
|
|||||||
fdc_update_is_nsc(0);
|
fdc_update_is_nsc(0);
|
||||||
floppy_reset();
|
floppy_reset();
|
||||||
|
|
||||||
mouse_emu_init();
|
|
||||||
|
|
||||||
#ifndef WALTJE
|
#ifndef WALTJE
|
||||||
/* This is needed to initialize the serial timer. */
|
/* This is needed to initialize the serial timer. */
|
||||||
serial_init();
|
serial_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* This has to be after the serial initialization so that
|
||||||
|
serial_init() doesn't break the serial mouse by resetting
|
||||||
|
the RCR callback to NULL. */
|
||||||
|
mouse_emu_init();
|
||||||
|
|
||||||
/* Initialize the actual machine and its basic modules. */
|
/* Initialize the actual machine and its basic modules. */
|
||||||
machine_init();
|
machine_init();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user