| 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 |
| r243319 | r243320 | |
|---|---|---|
| 666 | 666 | last_name = ROM_GETNAME(romp); |
| 667 | 667 | total_files++; |
| 668 | 668 | |
| 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 | ||
| 677 | 669 | // make sure the hash is valid |
| 678 | 670 | hash_collection hashes; |
| 679 | 671 | if (!hashes.from_internal_string(ROM_GETHASHDATA(romp))) |
| https://github.com/mamedev/mame/commit/7fbdb82c3cfdec9cca2d02ac9132eae08884dd37 |
| Previous | 199869 Revisions | Next |