[SM] added support for more than 255 players (will print Archipelago for higher player number) (#130)

* added support for more than 255 players (will print Archipelago for higher player number)
This commit is contained in:
lordlou
2021-11-13 09:40:20 -05:00
committed by GitHub
parent 82b8b313f0
commit 452026165f
4 changed files with 12 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ import Utils
from Patch import read_rom
JAP10HASH = '21f3e98df4780ee1c667b84e57d88675'
ROM_PLAYER_LIMIT = 255
import hashlib
import os
@@ -27,4 +28,4 @@ def get_base_rom_path(file_name: str = "") -> str:
file_name = options["sm_options"]["rom_file"]
if not os.path.exists(file_name):
file_name = Utils.local_path(file_name)
return file_name
return file_name