apply local items in no_logic

This commit is contained in:
Fabian Dill
2020-06-19 01:31:32 +02:00
parent a584e14f47
commit cb1d4cc39e
2 changed files with 10 additions and 6 deletions

3
Rom.py
View File

@@ -76,8 +76,7 @@ class LocalRom(object):
if not os.path.exists(local_path(os.path.join('data', 'basepatch.bmbp'))):
create_patch_file(local_path('basepatch.sfc'))
return
logging.info(local_path(os.path.join('data', 'basepatch.bmbp')))
logging.info(os.path.isfile(local_path(os.path.join('data', 'basepatch.bmbp'))))
if os.path.isfile(local_path(os.path.join('data', 'basepatch.bmbp'))):
_, target, buffer = create_rom_bytes(local_path(os.path.join('data', 'basepatch.bmbp')))
if self.verify(buffer):