mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
softlist.c: Sync software list rom name validation with regular rom name validation. (nw)
This commit is contained in:
parent
8c1e72b485
commit
75d6cb9f0d
@ -13833,7 +13833,7 @@ legacy FM implementations cannot find it.
|
||||
<feature name="slot" value="fs_sr022" />
|
||||
<feature name="pcb" value="DFUP0058ZAJ" />
|
||||
<dataarea name="rom" size="262144">
|
||||
<rom name="pro rom v1.0 dasr022a1.ic16" size="32768" crc="381b3431" sha1="8c7ae1a1720b1dae9af9904e638b868f56d905c2" offset="0" />
|
||||
<rom name="PRO ROM V1.0 DASR022A1.ic16" size="32768" crc="381b3431" sha1="8c7ae1a1720b1dae9af9904e638b868f56d905c2" offset="0" />
|
||||
<!-- The dictionary is in 4 32KB EEPROMs instead of one 128KB rom:
|
||||
- DIC1 ROM V1.0 DASR022B1.ic15
|
||||
- DIC2 ROM V1.0 DASR022C1.ic14
|
||||
|
@ -625,14 +625,6 @@ void software_list_device::internal_validity_check(validity_checker &valid)
|
||||
for (const rom_entry *data = part->romdata(); data->_name != NULL; data++)
|
||||
if (data->_hashdata != NULL)
|
||||
{
|
||||
// make sure it's all lowercase
|
||||
for (const char *str = data->_name; *str; str++)
|
||||
if (tolower((UINT8)*str) != *str)
|
||||
{
|
||||
osd_printf_error("%s: %s has upper case ROM name %s\n", filename(), swinfo->shortname(), data->_name);
|
||||
break;
|
||||
}
|
||||
|
||||
// make sure the hash is valid
|
||||
hash_collection hashes;
|
||||
if (!hashes.from_internal_string(data->_hashdata))
|
||||
|
Loading…
Reference in New Issue
Block a user