summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.cpp b/src/core.cpp
index d47127b..ec79fa0 100644
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -135,7 +135,7 @@ load_game(void *obj)
cg_graphic_init_config(cg_core.mrb);
- fp = fopen(cg_core.game_file.c_str(), "r");
+ fp = fopen(cg_core.game_file.c_str(), "rb");
mrb_load_irep_file(cg_core.mrb, fp);
fclose(fp);
if (cg_core.mrb->exc)