mirror of
https://github.com/holub/mame
synced 2025-05-07 23:02:33 +03:00
A fix for -listclones displaying parents as clones when it uses a BIOS. [Tafoid]
This commit is contained in:
parent
43fe37b4c2
commit
3e22ec9a7a
@ -396,7 +396,7 @@ void cli_frontend::listclones(const char *gamename)
|
|||||||
while (drivlist.next())
|
while (drivlist.next())
|
||||||
{
|
{
|
||||||
int clone_of = drivlist.clone();
|
int clone_of = drivlist.clone();
|
||||||
if (clone_of != -1)
|
if (clone_of != -1 && (drivlist.driver(clone_of).flags & GAME_IS_BIOS_ROOT) == 0)
|
||||||
mame_printf_info("%-16s %-8s\n", drivlist.driver().name, drivlist.driver(clone_of).name);
|
mame_printf_info("%-16s %-8s\n", drivlist.driver().name, drivlist.driver(clone_of).name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user