diff options
Diffstat (limited to 'src/emu/softlist.c')
-rw-r--r-- | src/emu/softlist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/softlist.c b/src/emu/softlist.c index 9f6fd339b8b..b9719d29a33 100644 --- a/src/emu/softlist.c +++ b/src/emu/softlist.c @@ -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 |