view Android.mk @ 1374:8f404b1fa572

Go back to resetting the refresh counter after a DMA. Probably not quite correct as it is probably reset on VDP triggered refresh, but this is close enough for now given the general limitations with my refresh code. VDP FIFO Testing seems to be passing 100% reliably again (was occassionally failing still with the last commit)
author Michael Pavone <pavone@retrodev.com>
date Tue, 23 May 2017 23:47:40 -0700
parents 4f46b4cd5035
children 78abbabfd58d
line wrap: on
line source

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := main

SDL_PATH := android/jni/SDL

LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include

LOCAL_CFLAGS += -std=gnu99 -DX86_32 -DDISABLE_OPENGL

# Add your application source files here...
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
	68kinst.c debug.c gst.c psg.c z80_to_x86.c backend.c io.c render_sdl.c \
	tern.c backend_x86.c gdb_remote.c m68k_core.c romdb.c m68k_core_x86.c \
	util.c wave.c blastem.c gen.c mem.c vdp.c ym2612.c config.c gen_x86.c \
	terminal.c z80inst.c menu.c arena.c

LOCAL_SHARED_LIBRARIES := SDL2

LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog

include $(BUILD_SHARED_LIBRARY)