mirror of
https://github.com/MiSTer-devel/Scripts_MiSTer.git
synced 2026-04-19 03:05:34 +00:00
Ignoring missing crc is ignore_crc attribute is present in the element
This commit is contained in:
committed by
GitHub
parent
2c5d1f603c
commit
950c3f65c9
@@ -102,7 +102,7 @@ def parseMRA(mraFile):
|
||||
#output_line(crclist)
|
||||
for item in root.findall('rom/part'):
|
||||
#output_line(item.attrib)
|
||||
if ('name' in item.attrib and 'crc' not in item.attrib):
|
||||
if ('name' in item.attrib and 'crc' not in item.attrib and 'ignore_crc' not in item.attrib):
|
||||
missingCRCs = missingCRCs + 1
|
||||
if ('partnames' not in info):
|
||||
info['partnames'] = []
|
||||
|
||||
Reference in New Issue
Block a user