Remove logging from validate_rom (#3362)
This commit is contained in:
parent
461f5db35a
commit
514ad69f44
|
@ -48,10 +48,6 @@ class MLSSClient(BizHawkClient):
|
||||||
rom_name_bytes = await bizhawk.read(ctx.bizhawk_ctx, [(0xA0, 14, "ROM")])
|
rom_name_bytes = await bizhawk.read(ctx.bizhawk_ctx, [(0xA0, 14, "ROM")])
|
||||||
rom_name = bytes([byte for byte in rom_name_bytes[0] if byte != 0]).decode("UTF-8")
|
rom_name = bytes([byte for byte in rom_name_bytes[0] if byte != 0]).decode("UTF-8")
|
||||||
if not rom_name.startswith("MARIO&LUIGIUA8"):
|
if not rom_name.startswith("MARIO&LUIGIUA8"):
|
||||||
logger.info(
|
|
||||||
"ERROR: You have opened a game that is not Mario & Luigi Superstar Saga. "
|
|
||||||
"Please make sure you are opening the correct ROM."
|
|
||||||
)
|
|
||||||
return False
|
return False
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue