Pull in fixes from Multiworld

This commit is contained in:
Mike A. Trethewey
2020-03-22 16:32:15 -07:00
parent 8513b7f270
commit 215a4d039f
6 changed files with 54 additions and 22 deletions

2
Rom.py
View File

@@ -79,7 +79,7 @@ class LocalRom(object):
self.hash = hash
self.orig_buffer = None
if not os.path.isfile(file):
raise RuntimeError("Could not find valid local base rom for patching at expected path %s." % args.rom)
raise RuntimeError("Could not find valid local base rom for patching at expected path %s." % file)
with open(file, 'rb') as stream:
self.buffer = read_rom(stream)
if patch: