diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-20 10:34:07 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-20 10:34:07 -0500 |
commit | 324e68af7cb8688d96f77f765b436cb20744a35e (patch) | |
tree | 7bb45e497d760bcc4b0886736b20f0eb1fe11a90 | |
parent | 3bdade3a7f58818864c1cff10f46ebb8740363df (diff) |
switch from "r" to "rb" when reading the ROM for Microsoft Windows users
original-commit-id: 628a1475785bf3f4dabf96787b84170736c109d5
-rw-r--r-- | crystal.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |