mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
ALTTP/SNIC/BHC: Stop using Utils.get_settings() (#5239)
* LTTP/SNIC/BHC: Stop using Utils.get_settings() * SNIClient: use Settings.sni_options
This commit is contained in:
@@ -9,6 +9,7 @@ import enum
|
||||
import subprocess
|
||||
from typing import Any
|
||||
|
||||
import settings
|
||||
from CommonClient import CommonContext, ClientCommandProcessor, get_base_parser, server_loop, logger, gui_enabled
|
||||
import Patch
|
||||
import Utils
|
||||
@@ -304,10 +305,10 @@ async def _game_watcher(ctx: BizHawkClientContext):
|
||||
|
||||
async def _run_game(rom: str):
|
||||
import os
|
||||
auto_start = Utils.get_settings().bizhawkclient_options.rom_start
|
||||
auto_start = settings.get_settings().bizhawkclient_options.rom_start
|
||||
|
||||
if auto_start is True:
|
||||
emuhawk_path = Utils.get_settings().bizhawkclient_options.emuhawk_path
|
||||
emuhawk_path = settings.get_settings().bizhawkclient_options.emuhawk_path
|
||||
subprocess.Popen(
|
||||
[
|
||||
emuhawk_path,
|
||||
|
Reference in New Issue
Block a user