tweak rom build script

This commit is contained in:
Kelvin Sherlock 2021-08-26 22:06:03 -04:00
parent e66502ea42
commit 0c56be79f3
1 changed files with 15 additions and 2 deletions

View File

@ -43,7 +43,7 @@ machines = args.machine
if not machines: machines = [ *MACHINES, *EXTRA_MACHINES]
# roms stored in other files.
EXCLUDE = [
xEXCLUDE = [
'ace100',
'agat7',
'agat9',
@ -84,6 +84,17 @@ EXCLUDE = [
'uniap2ti',
]
# non-existent or included elsewhere.
EXCLUDE = set([
'mac512ke',
'maciicx',
'maciihmu',
'maciivi',
'maciix',
'kb_pc83',
])
def build_known_roms_list():
infile = "mame-0233-full.html"
@ -139,7 +150,9 @@ for m in machines:
# find machines that have a rom child
for x in root.findall('machine/rom/..'):
name = x.get('name')
if (name in known): mnames.add(name)
if name in EXCLUDE: continue
#if (name in known): mnames.add(name)
mnames.add(name)
# for y in x.findall('./rom'):
# rnames.add(y.get('name'))