Fix asar relative path warning.

This commit is contained in:
caitsith2
2020-06-22 06:46:34 -07:00
parent 7b3e200d22
commit 9c8e531d20

View File

@@ -88,7 +88,7 @@ if __name__ == '__main__':
raise Exception("Base rom is not 'Zelda no Densetsu - Kamigami no Triforce (J) (V1.0)'") raise Exception("Base rom is not 'Zelda no Densetsu - Kamigami no Triforce (J) (V1.0)'")
print("Patching Base Rom") print("Patching Base Rom")
result, new_rom_data = asar_patch('LTTP_RND_GeneralBugfixes.asm', old_rom_data) result, new_rom_data = asar_patch(os.path.abspath('LTTP_RND_GeneralBugfixes.asm'), old_rom_data)
if result: if result:
with open('../working.sfc', 'wb') as stream: with open('../working.sfc', 'wb') as stream: