Previous 199869 Revisions Next

r34808 Monday 2nd February, 2015 at 15:28:14 UTC by David Haywood
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.
[src/emu]validity.c

trunk/src/emu/validity.c
r243319r243320
666666            last_name = ROM_GETNAME(romp);
667667            total_files++;
668668
669            // make sure it's all lowercase
670            for (const char *s = last_name; *s != 0; s++)
671               if (tolower((UINT8)*s) != *s)
672               {
673                  osd_printf_error("ROM name '%s' contains upper case characters\n", last_name);
674                  break;
675               }
676
677669            // make sure the hash is valid
678670            hash_collection hashes;
679671            if (!hashes.from_internal_string(ROM_GETHASHDATA(romp)))


Previous 199869 Revisions Next


© 1997-2024 The MAME Team