[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
|
return base_rom_bytes
|
||||||
|
|
||||||
|
|
||||||
def get_base_rom_path(file_name: str = "") -> str:
|
def get_base_rom_path() -> str:
|
||||||
options = Utils.get_options()
|
from . import TLoZWorld
|
||||||
if not file_name:
|
return TLoZWorld.settings.rom_file
|
||||||
file_name = options["tloz_options"]["rom_file"]
|
|
||||||
if not os.path.exists(file_name):
|
|
||||||
file_name = Utils.user_path(file_name)
|
|
||||||
return file_name
|
|
||||||
|
|||||||
Reference in New Issue
Block a user