Once again initialize mice after serial ports, should fix serial mice.
This commit is contained in:
10
src/86box.c
10
src/86box.c
@@ -1061,11 +1061,6 @@ pc_reset_hard_init(void)
|
|||||||
* that will be a call to device_reset_all() later !
|
* that will be a call to device_reset_all() later !
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* Reset the mouse, this will attach it to any port needed.
|
|
||||||
*/
|
|
||||||
mouse_reset();
|
|
||||||
|
|
||||||
if (joystick_type)
|
if (joystick_type)
|
||||||
gameport_update_joystick_type();
|
gameport_update_joystick_type();
|
||||||
|
|
||||||
@@ -1081,6 +1076,11 @@ pc_reset_hard_init(void)
|
|||||||
serial_standalone_init();
|
serial_standalone_init();
|
||||||
serial_passthrough_init();
|
serial_passthrough_init();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Reset the mouse, this will attach it to any port needed.
|
||||||
|
*/
|
||||||
|
mouse_reset();
|
||||||
|
|
||||||
/* Reset the Hard Disk Controller module. */
|
/* Reset the Hard Disk Controller module. */
|
||||||
hdc_reset();
|
hdc_reset();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user