re-import all libretro code from it's fork

Verbatim copy from https://github.com/libretro/picodrive/ commit
9ae88ef15ff00cacc3877c7ecc13b0092bab50b8 , so look there for the history
of libretro specific changes. Unfortunately there is too much noise and
divergence to merge this in a proper way.
This commit is contained in:
notaz 2017-10-13 00:39:51 +03:00
parent 126eb5f469
commit 7612bf90be
17 changed files with 6402 additions and 1810 deletions

View file

@ -2,12 +2,13 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
ifeq ($(NEON_BUILD)$(TARGET_ARCH_ABI),1armeabi-v7a)
LOCAL_MODULE := retro_picodrive-neon
else
LOCAL_MODULE := retro_picodrive
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
LOCAL_CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
LOCAL_MODULE := retro
R := ../
FR := $(LOCAL_PATH)/$(R)
@ -64,7 +65,7 @@ ARCH := $(TARGET_ARCH)
include $(R)platform/common/common.mak
LOCAL_SRC_FILES += $(SRCS_COMMON)
LOCAL_SRC_FILES += $(R)platform/libretro.c
LOCAL_SRC_FILES += $(R)platform/libretro/libretro.c
LOCAL_SRC_FILES += $(R)platform/common/mp3.c
LOCAL_SRC_FILES += $(R)platform/common/mp3_dummy.c