mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
validity.c : allow uppercase characters in ROM names so we can more accurately represent the labels.
This is a major bugbear for PCB owners, who are annoyed that we insist they take the time to note every label only for us to then convert everything to lowercase. This just seems to be another legacy leftover from the old days of MAME before we cared so much about label accuracy, and there's no real reason for us to do it as it damages our documentation. This change has been requested multiple times by multiple people.
This commit is contained in:
parent
174aa044a1
commit
7fbdb82c3c
@ -666,14 +666,6 @@ void validity_checker::validate_roms()
|
||||
last_name = ROM_GETNAME(romp);
|
||||
total_files++;
|
||||
|
||||
// make sure it's all lowercase
|
||||
for (const char *s = last_name; *s != 0; s++)
|
||||
if (tolower((UINT8)*s) != *s)
|
||||
{
|
||||
osd_printf_error("ROM name '%s' contains upper case characters\n", last_name);
|
||||
break;
|
||||
}
|
||||
|
||||
// make sure the hash is valid
|
||||
hash_collection hashes;
|
||||
if (!hashes.from_internal_string(ROM_GETHASHDATA(romp)))
|
||||
|
Loading…
Reference in New Issue
Block a user