From c491fa92b693b60326421094f03b911ee71ef8d7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 3 May 2013 17:12:23 +0200 Subject: [PATCH] Add .toc to valid_extensions --- Makefile.libretro | 14 +++++++------- frontend/libretro.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index 1ab4cc4c..8e9cdd1a 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -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 diff --git a/frontend/libretro.c b/frontend/libretro.c index f916f57a..f44cc28b 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -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; } -- 2.39.5