Do not allow mouse capturing if no mouse configured.

Fix resetting mouse type to NONE.
This commit is contained in:
waltje
2018-03-18 21:09:07 -05:00
parent d40526144c
commit 110070466a
3 changed files with 10 additions and 15 deletions

View File

@@ -152,7 +152,6 @@ int network_card; /* (C) net interface num */
char network_host[512]; /* (C) host network intf */
/* Statistics. */
extern int
mmuflush,
@@ -709,8 +708,8 @@ pc_init_modules(void)
cdrom_global_reset();
zip_global_reset();
device_init();
device_init();
timer_reset();
sound_reset();