Add .toc to valid_extensions
authortwinaphex <autechre1024@hotmail.com>
Fri, 3 May 2013 15:12:23 +0000 (17:12 +0200)
committertwinaphex <autechre1024@hotmail.com>
Fri, 3 May 2013 15:12:23 +0000 (17:12 +0200)
Makefile.libretro
frontend/libretro.c

index 1ab4cc4..8e9cdd1 100644 (file)
@@ -45,32 +45,32 @@ ARCH := arm
    USE_DYNAREC = 1
    CFLAGS += -DIOS
 else ifeq ($(platform), ps3)
-   TARGET := libretro_$(TARGET_NAME)_ps3.a
+   TARGET := $(TARGET_NAME)_libretro_ps3.a
    CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
    AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
    CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__
 else ifeq ($(platform), sncps3)
-   TARGET := libretro_$(TARGET_NAME)_ps3.a
+   TARGET := $(TARGET_NAME)_libretro_ps3.a
    CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
    AR = $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe
    CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__
 else ifeq ($(platform), psl1ght)
-   TARGET := libretro_$(TARGET_NAME)_psl1ght.a
+   TARGET := $(TARGET_NAME)_libretro_psl1ght.a
    CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
    AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
    CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__
 else ifeq ($(platform), psp1)
-       TARGET := libretro_$(TARGET_NAME)_psp1.a
+       TARGET := $(TARGET_NAME)_libretro_psp1.a
        CC = psp-gcc$(EXE_EXT)
        AR = psp-ar$(EXE_EXT)
        CFLAGS += -DPSP -G0
 else ifeq ($(platform), xenon)
-   TARGET := libretro_$(TARGET_NAME)_xenon360.a
+   TARGET := $(TARGET_NAME)_libretro_xenon360.a
    CC = xenon-gcc$(EXE_EXT)
    AR = xenon-ar$(EXE_EXT)
    CFLAGS += -D__LIBXENON__ -m32 -D__ppc__
 else ifeq ($(platform), ngc)
-   TARGET := libretro_$(TARGET_NAME)_ngc.a
+   TARGET := $(TARGET_NAME)_libretro_ngc.a
    CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
    AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
    CFLAGS += -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__
@@ -80,7 +80,7 @@ else ifeq ($(platform), wii)
    AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
    CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__
 else ifeq ($(platform), qnx)
-   TARGET := libretro_$(TARGET_NAME)_qnx.so
+   TARGET := $(TARGET_NAME)_libretro_qnx.so
    CC = qcc -Vgcc_ntoarmv7le
    CC_AS = $(CC)
    HAVE_NEON = 1
index f916f57..f44cc28 100644 (file)
@@ -251,7 +251,7 @@ void retro_get_system_info(struct retro_system_info *info)
        memset(info, 0, sizeof(*info));
        info->library_name = "PCSX-ReARMed";
        info->library_version = "r19";
-       info->valid_extensions = "bin|cue|img|mdf|pbp|cbn";
+       info->valid_extensions = "bin|cue|img|mdf|pbp|toc|cbn";
        info->need_fullpath = true;
 }