summaryrefslogtreecommitdiff
path: root/extras/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-20 10:34:07 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-20 10:34:07 -0500
commit628a1475785bf3f4dabf96787b84170736c109d5 (patch)
tree79f1797a6e1d1e9a9f0ffa32087e46dfd519777b /extras/crystal.py
parent7114385997599104c259c378c656273b2486a54b (diff)
switch from "r" to "rb" when reading the ROM for Microsoft Windows users
Diffstat (limited to 'extras/crystal.py')
-rw-r--r--extras/crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index 4a5ed443c..30d73cc3c 100644
--- a/extras/crystal.py
+++ b/extras/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