diff --git a/other_authors/mra_rom_check.sh b/other_authors/mra_rom_check.sh index 6b1c40e..21ae8b8 100755 --- a/other_authors/mra_rom_check.sh +++ b/other_authors/mra_rom_check.sh @@ -41,8 +41,8 @@ def parseMRA(mraFile): noCRC = True noMameVersion= True info['mraname']=mraFile - if ('mameversion' in root): - noMameVersion = False + for item in root.findall('mameversion'): + noMameVersion = False for item in root.findall('rom'): if ('zip' in item.attrib): zip=item.attrib['zip'] @@ -118,6 +118,7 @@ for info in broken: missingzips=missingzips+fname+"," print("missing: "+missingzips+" for: "+info['mraname']) +#working=parseMRA('Xevious.mra') #working=parseMRA('Tapper.mra') #print('Working:'+str(working)) #working=parseMRA('Asteroids.mra')