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=09e6db4fb1165f1c6034c3e2f6637024bb368e7d;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));