Do not add the dummy Internal mouse device.

This commit is contained in:
OBattler
2023-10-23 00:36:19 +02:00
parent ce603f3719
commit 113776a58f

View File

@@ -643,7 +643,7 @@ mouse_reset(void)
mouse_curr = mouse_devices[mouse_type].device;
if (mouse_curr != NULL)
if ((mouse_type > 1) && (mouse_curr != NULL))
mouse_priv = device_add(mouse_curr);
}