X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fcdriso.c;h=24ac8914df3e87c391bbd6d5cf3af3b3ac26a633;hb=5f8aa603b1f68d4bf4dbd341fed0e31b21f11bde;hp=9ca41726572711a38b4f65582c24207d78c09ba0;hpb=c491fa92b693b60326421094f03b911ee71ef8d7;p=pcsx_rearmed.git diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 9ca41726..24ac8914 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -327,6 +327,7 @@ static int parsetoc(const char *isofile) { return -1; } } +#ifndef __LIBRETRO__ // check if it's really a TOC named as a .cue fgets(linebuf, sizeof(linebuf), fi); token = strtok(tmp, " "); @@ -335,6 +336,7 @@ static int parsetoc(const char *isofile) { return -1; } fseek(fi, 0, SEEK_SET); +#endif } memset(&ti, 0, sizeof(ti));