From 0e60a175122ac01cca07663b3bdfaff072c8ceb1 Mon Sep 17 00:00:00 2001 From: Alan Steremberg Date: Wed, 29 Apr 2020 15:58:43 -0700 Subject: [PATCH] fixed mame version --- other_authors/mra_rom_check.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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')