Skip to content

Commit

Permalink
Prevent crash while importing ROMs if the directory contains >32MiB f…
Browse files Browse the repository at this point in the history
…iles.
  • Loading branch information
pisiiki committed Nov 22, 2018
1 parent 0f82b71 commit e18d233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retro/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def merge(*args, quiet=True):
for rom in args:
try:
data, hash = groom_rom(rom)
except IOError:
except (IOError, ValueError):
continue
if hash in known_hashes:
game, ext, curpath = known_hashes[hash]
Expand Down

0 comments on commit e18d233

Please sign in to comment.