summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index 4a5ed44..30d73cc 100644
--- a/crystal.py
+++ b/crystal.py
@@ -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