mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-26 22:56:20 +00:00
Attempting to fix fixbaserom
This commit is contained in:
parent
c07bdf72fd
commit
53b27d9992
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue