adjuster no longer needs to work with other basepatches, so it should not overwrite other basepatches.
This commit is contained in:
parent
5692041a5b
commit
898a0b7a8f
|
@ -13,9 +13,6 @@ def adjust(args):
|
||||||
|
|
||||||
if os.stat(args.rom).st_size in (0x200000, 0x400000) and os.path.splitext(args.rom)[-1].lower() == '.sfc':
|
if os.stat(args.rom).st_size in (0x200000, 0x400000) and os.path.splitext(args.rom)[-1].lower() == '.sfc':
|
||||||
rom = LocalRom(args.rom, patch=False)
|
rom = LocalRom(args.rom, patch=False)
|
||||||
if os.path.isfile(args.baserom):
|
|
||||||
baserom = LocalRom(args.baserom, patch=True)
|
|
||||||
rom.orig_buffer = baserom.orig_buffer
|
|
||||||
else:
|
else:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
'Provided Rom is not a valid Link to the Past Randomizer Rom. Please provide one for adjusting.')
|
'Provided Rom is not a valid Link to the Past Randomizer Rom. Please provide one for adjusting.')
|
||||||
|
|
Loading…
Reference in New Issue