[TLOZ] Remove deprecated Utils.get_options call, part 2 (#5371)

* Updated to remove deprecated call.

* Removed unused argument.

* Removed errant client calls to Utils.get_options, and fixed call in Rom.py that was passing an argument.
This commit is contained in:
Rosalie
2025-08-27 13:28:42 -04:00
committed by GitHub
parent 750c8a9810
commit 439be48f36
2 changed files with 5 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ class TLoZDeltaPatch(APDeltaPatch):
def get_base_rom_bytes(file_name: str = "") -> bytes:
base_rom_bytes = getattr(get_base_rom_bytes, "base_rom_bytes", None)
if not base_rom_bytes:
file_name = get_base_rom_path(file_name)
file_name = get_base_rom_path()
base_rom_bytes = bytes(Utils.read_snes_rom(open(file_name, "rb")))
basemd5 = hashlib.md5()