mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-22 18:24:10 -05:00
switch from "r" to "rb" when reading the ROM for Microsoft Windows users
original-commit-id: 628a1475785bf3f4dabf96787b84170736c109d5
This commit is contained in:
@@ -241,7 +241,7 @@ rom = RomStr(None)
|
||||
def direct_load_rom(filename="../baserom.gbc"):
|
||||
"""loads bytes into memory"""
|
||||
global rom
|
||||
file_handler = open(filename, "r")
|
||||
file_handler = open(filename, "rb")
|
||||
rom = RomStr(file_handler.read())
|
||||
file_handler.close()
|
||||
return rom
|
||||
|
||||
Reference in New Issue
Block a user