Update
authortwinaphex <libretro@gmail.com>
Sat, 19 Dec 2020 21:57:49 +0000 (22:57 +0100)
committertwinaphex <libretro@gmail.com>
Sat, 19 Dec 2020 21:57:49 +0000 (22:57 +0100)
Makefile.libretro
deps/flac-1.3.2/src/libFLAC/stream_decoder.c
libretro-common/include/libretro.h

index 87b35f7..6a436ed 100644 (file)
@@ -151,20 +151,6 @@ else ifeq ($(platform), arm64)
    CFLAGS := $(filter-out -O2, $(CFLAGS))
    CFLAGS += -O3 -ftree-vectorize
 
-# PS3
-else ifeq ($(platform), ps3)
-       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__
-
-# sncps3
-else ifeq ($(platform), sncps3)
-       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__
-
 # Lightweight PS3 Homebrew SDK
 else ifeq ($(platform), psl1ght)
        TARGET := $(TARGET_NAME)_libretro_psl1ght.a
index 7c8a26e..d364b0c 100644 (file)
@@ -3356,11 +3356,7 @@ FLAC__StreamDecoderSeekStatus file_seek_callback_(const FLAC__StreamDecoder *dec
 
        if(decoder->private_->file == stdin)
                return FLAC__STREAM_DECODER_SEEK_STATUS_UNSUPPORTED;
-#ifdef __CELLOS_LV2__
-       else if(fseek(decoder->private_->file, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0)
-#else
        else if(fseeko(decoder->private_->file, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0)
-#endif
                return FLAC__STREAM_DECODER_SEEK_STATUS_ERROR;
        else
                return FLAC__STREAM_DECODER_SEEK_STATUS_OK;
@@ -3373,11 +3369,7 @@ FLAC__StreamDecoderTellStatus file_tell_callback_(const FLAC__StreamDecoder *dec
 
        if(decoder->private_->file == stdin)
                return FLAC__STREAM_DECODER_TELL_STATUS_UNSUPPORTED;
-#ifdef __CELLOS_LV2__
-       else if((pos = ftell(decoder->private_->file)) < 0)
-#else
        else if((pos = ftello(decoder->private_->file)) < 0)
-#endif
                return FLAC__STREAM_DECODER_TELL_STATUS_ERROR;
        else {
                *absolute_byte_offset = (FLAC__uint64)pos;
index 20b4cd2..833dfed 100644 (file)
@@ -69,7 +69,7 @@ extern "C" {
 #      endif
 #    endif
 #  else
-#      if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__CELLOS_LV2__)
+#      if defined(__GNUC__) && __GNUC__ >= 4
 #        define RETRO_API RETRO_CALLCONV __attribute__((__visibility__("default")))
 #      else
 #        define RETRO_API RETRO_CALLCONV