A fix for -listclones displaying parents as clones when it uses a BIOS. [Tafoid]

This commit is contained in:
Scott Stone 2011-06-17 02:28:34 +00:00
parent 43fe37b4c2
commit 3e22ec9a7a

View File

@ -396,7 +396,7 @@ void cli_frontend::listclones(const char *gamename)
while (drivlist.next())
{
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);
}
}