summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2009-02-27 07:57:29 +0000
committerTom Ross <midgey@rockbox.org>2009-02-27 07:57:29 +0000
commit353ebd09670edea2fb9316e1c8ec79c9c5df8380 (patch)
tree07d976d91ec79dc5f8d844fdb7c5f6bc81d4b5ee /apps
parent5d190bc13ca9af15d50029ecbcb5c178ed3f2b85 (diff)
downloadrockbox-353ebd09670edea2fb9316e1c8ec79c9c5df8380.tar.gz
rockbox-353ebd09670edea2fb9316e1c8ec79c9c5df8380.zip
Small bit from my GSoC work: Unify the way the simulator accesses voice strings. In the future this will allow plugin menus to be translated and voiced.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20125 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 3bb590c974..7f5f025a8f 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -189,11 +189,7 @@ enum { ALARM_START_WPS = 0,
189 This helps to save space for menus and options. */ 189 This helps to save space for menus and options. */
190 190
191#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ 191#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
192#ifdef SIMULATOR 192#if CONFIG_CPU==DM320
193/* a space which is defined in stubs.c */
194extern unsigned char vp_dummy[VIRT_SIZE];
195#define VIRT_PTR vp_dummy
196#elif CONFIG_CPU==DM320
197/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */ 193/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */
198#define VIRT_PTR ((unsigned char*)0x4000) 194#define VIRT_PTR ((unsigned char*)0x4000)
199#else 195#else