From 53b27d999218c5cb454f3e05bdb4e4648cfc99cd Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Thu, 23 Apr 2020 14:57:40 -0400 Subject: [PATCH] Attempting to fix fixbaserom --- fixbaserom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixbaserom.py b/fixbaserom.py index e00853e868..9ac8d062a5 100644 --- a/fixbaserom.py +++ b/fixbaserom.py @@ -59,7 +59,7 @@ print("Patching header...") strippedContent[0x3E] = 0x50 # 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": print("Error: Expected a hash of f0b7f35375f9cc8ca1b2d59d78e35405 but got " + str_hash + ". " + "The baserom has probably been tampered, find a new one")