mirror of
https://github.com/ksherlock/ample.git
synced 2026-04-20 15:16:56 +00:00
tweak rom build script
This commit is contained in:
+15
-2
@@ -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'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user