Adventure: Change user_path to local_path for locating basepatch file (#1639)

This commit is contained in:
JusticePS 2023-04-04 10:32:03 -07:00 committed by GitHub
parent a86fd37860
commit 8f52e4654f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ async def patch_and_run_game(patch_file, ctx):
logger.info(msg, extra={'compact_gui': True})
ctx.gui_error('Error', msg)
with open(Utils.user_path("data", "adventure_basepatch.bsdiff4"), "rb") as file:
with open(Utils.local_path("data", "adventure_basepatch.bsdiff4"), "rb") as file:
basepatch = bytes(file.read())
base_patched_rom_data = bsdiff4.patch(base_rom, basepatch)