Memory needs to be uniquely named for Android

This commit is contained in:
twinaphex 2017-06-08 11:03:24 +02:00 committed by radius
parent b02aeab022
commit a7db98c22e
5 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
#include "display.h"
#include "joypad.h"
#include "mbc.h"
#include "memory.h"
#include "gbmemory.h"
#include "printer.h"
#include "timing.h"
#include "z80_cpu.h"

View File

@ -3,7 +3,7 @@ INCFLAGS := -I$(CORE_DIR) \
SOURCES_C := $(CORE_DIR)/Core/gb.c \
$(CORE_DIR)/Core/apu.c \
$(CORE_DIR)/Core/memory.c \
$(CORE_DIR)/Core/gbmemory.c \
$(CORE_DIR)/Core/mbc.c \
$(CORE_DIR)/Core/timing.c \
$(CORE_DIR)/Core/display.c \

View File

@ -24,7 +24,7 @@ CORE_DIR := ../..
include ../../Makefile.common
LOCAL_SRC_FILES := $(SOURCES_CXX) $(SOURCES_C)
LOCAL_CXXFLAGS += -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DNDEBUG -D_USE_MATH_DEFINES
LOCAL_CXXFLAGS += -DINLINE=inline -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DNDEBUG -D_USE_MATH_DEFINES -DGB_INTERNAL
LOCAL_C_INCLUDES = $(INCFLAGS)