From: twinaphex Date: Fri, 3 May 2013 15:12:23 +0000 (+0200) Subject: Add .toc to valid_extensions X-Git-Tag: r20~80 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93305561891374a32e3fccadb7d74c87f99502ef;p=pcsx_rearmed.git Add .toc to valid_extensions --- 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; }