Fix build for Android
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1220 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
11fe3f1fc7
commit
a2655200dc
|
@ -1,4 +1,5 @@
|
|||
#include <memory.h>
|
||||
#include <string.h>
|
||||
#include "GBA.h"
|
||||
#include "EEprom.h"
|
||||
#include "../Util.h"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <memory.h>
|
||||
#include "GBA.h"
|
||||
#include "Globals.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <time.h>
|
||||
#include <memory.h>
|
||||
#include <string.h>
|
||||
|
||||
enum RTCSTATE
|
||||
{
|
||||
|
|
|
@ -15,9 +15,47 @@ ifeq ($(TARGET_ARCH),mips)
|
|||
LOCAL_CFLAGS += -DANDROID_MIPS
|
||||
endif
|
||||
|
||||
VBADIR = ../../
|
||||
|
||||
LOCAL_MODULE := libretro
|
||||
LOCAL_SRC_FILES = ../../src/gba.cpp ../../src/memory.cpp ../../src/sound.cpp ../../libretro/libretro.cpp
|
||||
LOCAL_CFLAGS = -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DSPEEDHAX -DLSB_FIRST -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565
|
||||
LOCAL_C_INCLUDES = ../src
|
||||
LOCAL_SRC_FILES = $(VBADIR)/gba/agbprint.cpp \
|
||||
$(VBADIR)/gba/armdis.cpp \
|
||||
$(VBADIR)/gba/bios.cpp \
|
||||
$(VBADIR)/gba/Cheats.cpp \
|
||||
$(VBADIR)/gba/CheatSearch.cpp \
|
||||
$(VBADIR)/gba/EEprom.cpp \
|
||||
$(VBADIR)/gba/elf.cpp \
|
||||
$(VBADIR)/gba/Flash.cpp \
|
||||
$(VBADIR)/gba/GBA-arm.cpp \
|
||||
$(VBADIR)/gba/GBA.cpp \
|
||||
$(VBADIR)/gba/gbafilter.cpp \
|
||||
$(VBADIR)/gba/GBAGfx.cpp \
|
||||
$(VBADIR)/gba/GBALink.cpp \
|
||||
$(VBADIR)/gba/GBASockClient.cpp \
|
||||
$(VBADIR)/gba/GBA-thumb.cpp \
|
||||
$(VBADIR)/gba/Globals.cpp \
|
||||
$(VBADIR)/gba/Mode0.cpp \
|
||||
$(VBADIR)/gba/Mode1.cpp \
|
||||
$(VBADIR)/gba/Mode2.cpp \
|
||||
$(VBADIR)/gba/Mode3.cpp \
|
||||
$(VBADIR)/gba/Mode4.cpp \
|
||||
$(VBADIR)/gba/Mode5.cpp \
|
||||
$(VBADIR)/gba/remote.cpp \
|
||||
$(VBADIR)/gba/RTC.cpp \
|
||||
$(VBADIR)/gba/Sound.cpp \
|
||||
$(VBADIR)/gba/Sram.cpp \
|
||||
$(VBADIR)/apu/Blip_Buffer.cpp \
|
||||
$(VBADIR)/apu/Effects_Buffer.cpp \
|
||||
$(VBADIR)/apu/Gb_Apu.cpp \
|
||||
$(VBADIR)/apu/Gb_Apu_State.cpp \
|
||||
$(VBADIR)/apu/Gb_Oscs.cpp \
|
||||
$(VBADIR)/apu/Multi_Buffer.cpp \
|
||||
$(VBADIR)/libretro/libretro.cpp \
|
||||
$(VBADIR)/libretro/UtilRetro.cpp \
|
||||
$(VBADIR)/libretro/SoundRetro.cpp \
|
||||
$(VBADIR)/libretro/scrc32.cpp
|
||||
|
||||
LOCAL_CFLAGS = -O3 -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DLSB_FIRST -D__LIBRETRO__ -DFINAL_VERSION -DC_CORE -DUSE_GBA_ONLY -DNO_LINK -DFRONTEND_SUPPORTS_RGB565
|
||||
LOCAL_C_INCLUDES = $(VBADIR)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
Loading…
Reference in New Issue