mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
add validation entry for softlist items which might miss the <part> nodes
This commit is contained in:
parent
5f9be95354
commit
0798ea0646
@ -557,6 +557,13 @@ void software_list_device::internal_validity_check(validity_checker &valid)
|
||||
break;
|
||||
}
|
||||
|
||||
// Did we lost the software parts?
|
||||
if (swinfo->num_parts() == 0)
|
||||
{
|
||||
osd_printf_error("%s: %s has no part\n", filename(), swinfo->shortname());
|
||||
break;
|
||||
}
|
||||
|
||||
// Second, since the xml is fine, run additional checks:
|
||||
|
||||
// check for duplicate names
|
||||
|
Loading…
Reference in New Issue
Block a user