mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
switch from "r" to "rb" when reading the ROM for Microsoft Windows users
This commit is contained in:
parent
7114385997
commit
628a147578
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user