aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds
diff options
context:
space:
mode:
authorMax Horn2010-07-31 22:42:42 +0000
committerMax Horn2010-07-31 22:42:42 +0000
commit450b82355d05f52bb900bcd4656ea850442b5140 (patch)
treee40b077112169f9a1c8d6a5cf91e38ef48a0a793 /backends/platform/ds
parent4afbfbf355d70df9ba7e2a33fd77685cf3e5399c (diff)
downloadscummvm-rg350-450b82355d05f52bb900bcd4656ea850442b5140.tar.gz
scummvm-rg350-450b82355d05f52bb900bcd4656ea850442b5140.tar.bz2
scummvm-rg350-450b82355d05f52bb900bcd4656ea850442b5140.zip
DS: Fix custom DS build system
svn-id: r51555
Diffstat (limited to 'backends/platform/ds')
-rw-r--r--backends/platform/ds/arm9/makefile4
-rw-r--r--backends/platform/ds/arm9/source/portdefs.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/makefile b/backends/platform/ds/arm9/makefile
index fac50178b4..78638bdab8 100644
--- a/backends/platform/ds/arm9/makefile
+++ b/backends/platform/ds/arm9/makefile
@@ -297,14 +297,14 @@ ifdef USE_PROFILER
endif
-DATA_OBJS :=
+DATA_OBJS := \
$(portdir)/data/icons.o \
$(portdir)/data/keyboard.o \
$(portdir)/data/keyboard_pal.o \
$(portdir)/data/default_font.o \
$(portdir)/data/8x8font_tga.o
-FAT_OBJS :=
+FAT_OBJS := \
$(portdir)/source/fat/disc_io.o \
$(portdir)/source/fat/gba_nds_fat.o \
$(portdir)/source/fat/io_fcsr.o \
diff --git a/backends/platform/ds/arm9/source/portdefs.h b/backends/platform/ds/arm9/source/portdefs.h
index bdb42993d1..c08f994e8e 100644
--- a/backends/platform/ds/arm9/source/portdefs.h
+++ b/backends/platform/ds/arm9/source/portdefs.h
@@ -26,6 +26,9 @@
#ifndef _PORTDEFS_H_
#define _PORTDEFS_H_
+// Include ndstypes.h for uint16 etc. typedefs
+#include "nds/ndstypes.h"
+
// Somebody removed these from scummsys.h, but they're still required, so I'm
// adding them here in the hope that they'll stay.
#include <stdio.h>