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

@ -111,7 +111,7 @@ USE_FRONTEND = 1
PLATFORM_MP3 = 1
endif
ifeq "$(PLATFORM)" "libretro"
OBJS += platform/libretro.o
OBJS += platform/libretro/libretro.o
endif
ifeq "$(USE_FRONTEND)" "1"
@ -181,7 +181,11 @@ clean:
$(RM) -r .opk_data
$(TARGET): $(OBJS)
ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $^
else
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS)
endif
pprof: platform/linux/pprof.c
$(CC) -O2 -ggdb -DPPROF -DPPROF_TOOL -I../../ -I. $^ -o $@