fix verify

This commit is contained in:
Fabian Dill 2020-06-09 22:12:46 +02:00
parent 8f6fd314ef
commit 4192e0fabb
1 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -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