mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
no longer try patching if it's the wrong rom.
People ignore the warning.
This commit is contained in:
4
Patch.py
4
Patch.py
@@ -22,8 +22,8 @@ def get_base_rom_bytes() -> bytes:
|
||||
basemd5 = hashlib.md5()
|
||||
basemd5.update(base_rom_bytes)
|
||||
if JAP10HASH != basemd5.hexdigest():
|
||||
logging.warning('Supplied Base Rom does not match known MD5 for JAP(1.0) release.'
|
||||
' Will try to patch anyway.')
|
||||
raise Exception('Supplied Base Rom does not match known MD5 for JAP(1.0) release. '
|
||||
'Get the correct game and version, then dump it')
|
||||
return base_rom_bytes
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user