[TLOZ] Updated to remove deprecated call. (#5266)
* Updated to remove deprecated call. * Removed unused argument.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user