Tools: Allow perf.py to accept zipped games

This commit is contained in:
Jeffrey Pfau 2015-01-13 21:46:41 -08:00
parent 47661def29
commit 854d49d1b7

View File

@ -76,7 +76,7 @@ class Suite(object):
def collect_tests(self): def collect_tests(self):
roms = [] roms = []
for f in os.listdir(self.cwd): for f in os.listdir(self.cwd):
if f.endswith('.gba'): if f.endswith('.gba') or f.endswith('.zip'):
roms.append(f) roms.append(f)
roms.sort() roms.sort()
for rom in roms: for rom in roms: