1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00

Attempting to fix fixbaserom

This commit is contained in:
Ethan Roseman 2020-04-23 14:57:40 -04:00
parent c07bdf72fd
commit 53b27d9992

View file

@ -59,7 +59,7 @@ print("Patching header...")
strippedContent[0x3E] = 0x50 strippedContent[0x3E] = 0x50
# Check to see if the ROM is a "vanilla" Debug ROM # Check to see if the ROM is a "vanilla" Debug ROM
str_hash = get_str_hash(strippedContent) str_hash = get_str_hash(bytearray(strippedContent))
if str_hash != "f0b7f35375f9cc8ca1b2d59d78e35405": if str_hash != "f0b7f35375f9cc8ca1b2d59d78e35405":
print("Error: Expected a hash of f0b7f35375f9cc8ca1b2d59d78e35405 but got " + str_hash + ". " + print("Error: Expected a hash of f0b7f35375f9cc8ca1b2d59d78e35405 but got " + str_hash + ". " +
"The baserom has probably been tampered, find a new one") "The baserom has probably been tampered, find a new one")