Previous 199869 Revisions Next

r40080 Thursday 30th July, 2015 at 12:07:19 UTC by Wilbert Pol
softlist.c: Sync software list rom name validation with regular rom name validation. (nw)
[hash]msx1_cart.xml
[src/emu]softlist.c

trunk/hash/msx1_cart.xml
r248591r248592
1383313833         <feature name="slot" value="fs_sr022" />
1383413834         <feature name="pcb" value="DFUP0058ZAJ" />
1383513835         <dataarea name="rom" size="262144">
13836            <rom name="pro rom v1.0 dasr022a1.ic16" size="32768" crc="381b3431" sha1="8c7ae1a1720b1dae9af9904e638b868f56d905c2" offset="0" />
13836            <rom name="PRO ROM V1.0 DASR022A1.ic16" size="32768" crc="381b3431" sha1="8c7ae1a1720b1dae9af9904e638b868f56d905c2" offset="0" />
1383713837            <!-- The dictionary is in 4 32KB EEPROMs instead of one 128KB rom:
1383813838                 - DIC1 ROM V1.0 DASR022B1.ic15
1383913839                 - DIC2 ROM V1.0 DASR022C1.ic14
trunk/src/emu/softlist.c
r248591r248592
625625         for (const rom_entry *data = part->romdata(); data->_name != NULL; data++)
626626            if (data->_hashdata != NULL)
627627            {
628               // make sure it's all lowercase
629               for (const char *str = data->_name; *str; str++)
630                  if (tolower((UINT8)*str) != *str)
631                  {
632                     osd_printf_error("%s: %s has upper case ROM name %s\n", filename(), swinfo->shortname(), data->_name);
633                     break;
634                  }
635
636628               // make sure the hash is valid
637629               hash_collection hashes;
638630               if (!hashes.from_internal_string(data->_hashdata))


Previous 199869 Revisions Next


© 1997-2024 The MAME Team