Allow mouse capture on internal mice even if mouse_type is not actually set to MOUSE_TYPE_INTERNAL, fixes #2682.

This commit is contained in:
OBattler
2022-10-23 05:31:39 +02:00
parent 514fd4a3b0
commit da33f5c0cc
4 changed files with 9 additions and 2 deletions

View File

@@ -11990,3 +11990,9 @@ machine_get_machine_from_internal_name(char *s)
return(0);
}
int
machine_has_mouse(void)
{
return(machines[machine].flags & MACHINE_MOUSE);
}