summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Patulea <cat@vv.carleton.ca>2007-11-02 02:50:02 +0000
committerCatalin Patulea <cat@vv.carleton.ca>2007-11-02 02:50:02 +0000
commit01ddb564bff30063dd76f974436b224c119ce89a (patch)
tree26c5b5408691ffeb63d9755164debb1cf20873ad
parent9daf658ef18f1467ca949b7a4d4b6d428c8f4ce4 (diff)
downloadrockbox-01ddb564bff30063dd76f974436b224c119ce89a.zip
rockbox-01ddb564bff30063dd76f974436b224c119ce89a.tar.gz
rockbox-01ddb564bff30063dd76f974436b224c119ce89a.tar.bz2
rockbox-01ddb564bff30063dd76f974436b224c119ce89a.tar.xz
DM320 has IRAM at 0, so move VIRT_PTR somewhere else (fixes empty menu item text bug)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15400 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index db7d5dc..f54569b 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -200,6 +200,9 @@ enum { ALARM_START_WPS = 0,
/* a space which is defined in stubs.c */
extern unsigned char vp_dummy[VIRT_SIZE];
#define VIRT_PTR vp_dummy
+#elif CONFIG_CPU==DM320
+/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */
+#define VIRT_PTR ((unsigned char*)0x4000)
#else
/* a location where we won't store strings, 0 is the fastest */
#define VIRT_PTR ((unsigned char*)0)