summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-06 12:11:30 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2013-01-06 12:11:30 +0000
commit133c74b9ebe90376ad384b02395654737424c0f2 (patch)
treeb14db83816e899c4623423a0963a466fb4fa2276 /src/lib
parent4a2611210e885f91bd8e26d737e083fd9f246012 (diff)
read ISO as binary as well (nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util/chdcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/chdcd.c b/src/lib/util/chdcd.c
index 75418a2b5d5..6ecc8e6186d 100644
--- a/src/lib/util/chdcd.c
+++ b/src/lib/util/chdcd.c
@@ -483,7 +483,7 @@ chd_error chdcd_parse_iso(const char *tocfname, cdrom_toc &outtoc, chdcd_track_i
FILE *infile;
astring path = astring(tocfname);
- infile = fopen(tocfname, "rt");
+ infile = fopen(tocfname, "rb");
path = get_file_path(path);
if (infile == (FILE *)NULL)