mirror of
https://github.com/86Box/86Box.git
synced 2026-02-21 17:15:32 -07:00
Get rid of machine_get_machine_from_internal_name_ex
This commit is contained in:
@@ -20700,21 +20700,6 @@ machine_get_machine_from_internal_name(const char *s)
|
||||
c++;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user