aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9
diff options
context:
space:
mode:
authorMax Horn2008-12-21 17:14:42 +0000
committerMax Horn2008-12-21 17:14:42 +0000
commita1eb74622ed894f2fb1d43ce310701ebf486c4fe (patch)
treece5bff020d6ea8f51c967b325fa0ee84614c2885 /backends/platform/ds/arm9
parentd0f4f97ea9d8ded6280c2c023a55febecabef5d2 (diff)
downloadscummvm-rg350-a1eb74622ed894f2fb1d43ce310701ebf486c4fe.tar.gz
scummvm-rg350-a1eb74622ed894f2fb1d43ce310701ebf486c4fe.tar.bz2
scummvm-rg350-a1eb74622ed894f2fb1d43ce310701ebf486c4fe.zip
DS port: Removed mixer.cpp from OPTLIST (saves 11kb code size); added several DEFINES which reduce the binary size further
svn-id: r35468
Diffstat (limited to 'backends/platform/ds/arm9')
-rw-r--r--backends/platform/ds/arm9/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/makefile b/backends/platform/ds/arm9/makefile
index de56432387..8f191d1f7e 100644
--- a/backends/platform/ds/arm9/makefile
+++ b/backends/platform/ds/arm9/makefile
@@ -196,6 +196,7 @@ ifdef USE_MAD
DEFINES += -DUSE_MAD
endif
+DEFINES += -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE -DREDUCE_MEMORY_USAGE
LDFLAGS = -specs=ds_arm9.specs -mthumb-interwork -Wl,--wrap,time -mno-fpu -Wl,-Map,map.txt -Wl,--gc-sections
@@ -248,7 +249,6 @@ endif
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
-
COMPRESSOR_OBJS :=
#$(portdir)/source/compressor/lz.o
@@ -274,7 +274,7 @@ LIBCARTRESET_OBJS :=
#$(portdir)/source/libcartreset/cartreset.o
# Files in this list will be optimisied for speed, otherwise they will be optimised for space
-OPTLIST := actor.cpp ds_main.cpp osystem_ds.cpp blitters.cpp fmopl.cpp rate.cpp mixer.cpp isomap.cpp image.cpp gfx.cpp sprite.cpp actor_path.cpp actor_walk.cpp
+OPTLIST := actor.cpp ds_main.cpp osystem_ds.cpp blitters.cpp fmopl.cpp rate.cpp isomap.cpp image.cpp gfx.cpp sprite.cpp actor_path.cpp actor_walk.cpp
#OPTLIST :=
# Compiler options for files which should be optimised for speed