summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2014-12-10 01:03:14 +0100
committeraliaspider2014-12-10 01:03:14 +0100
commitafff31b5087e0e12a42c0301057ea56e7c6d2b75 (patch)
tree4972f6851b729ebd7267530b6a484dffc41a78af
parent9f97113292b60d4530678e578d8fe65bb675db50 (diff)
downloadpicogpsp-afff31b5087e0e12a42c0301057ea56e7c6d2b75.tar.gz
picogpsp-afff31b5087e0e12a42c0301057ea56e7c6d2b75.tar.bz2
picogpsp-afff31b5087e0e12a42c0301057ea56e7c6d2b75.zip
fix arm target compile errors.
-rw-r--r--Makefile.common1
-rw-r--r--common.h2
-rw-r--r--gba_memory.h (renamed from memory.h)0
3 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 259e4c3..39dd9e9 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -22,6 +22,7 @@ ifeq ($(CPU_ARCH), x86_32)
SOURCES_ASM += $(CORE_DIR)/x86/x86_stub.S
endif
ifeq ($(CPU_ARCH), arm)
+SOURCES_C += $(CORE_DIR)/arm/warm.c
SOURCES_ASM += $(CORE_DIR)/arm/arm_stub.S \
$(CORE_DIR)/arm/video_blend.S
endif
diff --git a/common.h b/common.h
index 474de3a..65fd01a 100644
--- a/common.h
+++ b/common.h
@@ -224,7 +224,7 @@ typedef u32 fixed8_24;
#include "SDL.h"
#endif
#include "cpu.h"
-#include "memory.h"
+#include "gba_memory.h"
#include "video.h"
#include "input.h"
#include "sound.h"
diff --git a/memory.h b/gba_memory.h
index 4812188..4812188 100644
--- a/memory.h
+++ b/gba_memory.h