mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
fix verify
This commit is contained in:
2
Rom.py
2
Rom.py
@@ -58,7 +58,7 @@ class LocalRom(object):
|
||||
def verify(buffer, expected=RANDOMIZERBASEHASH):
|
||||
buffermd5 = hashlib.md5()
|
||||
buffermd5.update(buffer)
|
||||
return RANDOMIZERBASEHASH == buffermd5.hexdigest()
|
||||
return expected == buffermd5.hexdigest()
|
||||
|
||||
def patch_base_rom(self):
|
||||
from Patch import create_patch_file, create_rom_bytes
|
||||
|
Reference in New Issue
Block a user