1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +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")