[TLOZ] Updated to remove deprecated call. (#5266)

* Updated to remove deprecated call.

* Removed unused argument.
This commit is contained in:
Rosalie
2025-08-27 09:20:51 -04:00
committed by GitHub
parent e1fca86cf8
commit be51fb9ba9

View File

@@ -70,10 +70,6 @@ def get_base_rom_bytes(file_name: str = "") -> bytes:
return base_rom_bytes
def get_base_rom_path(file_name: str = "") -> str:
options = Utils.get_options()
if not file_name:
file_name = options["tloz_options"]["rom_file"]
if not os.path.exists(file_name):
file_name = Utils.user_path(file_name)
return file_name
def get_base_rom_path() -> str:
from . import TLoZWorld
return TLoZWorld.settings.rom_file