Improve slow loading speeds for manager

This commit is contained in:
Cacodemon345
2025-12-28 23:43:04 +06:00
parent 6adcdbe68d
commit 909e893f4d
3 changed files with 20 additions and 7 deletions

View File

@@ -20709,6 +20709,21 @@ machine_get_machine_from_internal_name(const char *s)
return 0;
}
int
machine_get_machine_from_internal_name_ex(const char *s)
{
int c = 0;
while (machines[c].init != NULL) {
if (!strcmp(machines[c].internal_name, s))
return c;
c++;
}
return -1;
}
int
machine_has_mouse(void)
{