diff options
-rw-r--r-- | src/lib/util/chdcd.c | 2 |
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) |