Revert "Add hack for broken bin/cue loading right now at startup"
authortwinaphex <autechre1024@hotmail.com>
Sun, 26 May 2013 17:00:45 +0000 (19:00 +0200)
committertwinaphex <autechre1024@hotmail.com>
Sun, 26 May 2013 17:00:45 +0000 (19:00 +0200)
This reverts commit 5f8aa603b1f68d4bf4dbd341fed0e31b21f11bde.

Makefile.libretro
libpcsxcore/cdriso.c

index a447ea9..9436c8a 100644 (file)
@@ -108,8 +108,6 @@ else
    CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__
 endif
 
-CFLAGS += -D__LIBRETRO__
-
 CFLAGS += -fPIC
 ifneq ($(platform),qnx)
    LDLIBS += -lpthread
index 24ac891..9ca4172 100644 (file)
@@ -327,7 +327,6 @@ 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, " ");
@@ -336,7 +335,6 @@ static int parsetoc(const char *isofile) {
                        return -1;
                }
                fseek(fi, 0, SEEK_SET);
-#endif
        }
 
        memset(&ti, 0, sizeof(ti));