1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Tom Ross 2009-02-27 07:57:29 +00:00
parent 5d190bc13c
commit 353ebd0967
2 changed files with 1 additions and 9 deletions

View file

@ -189,11 +189,7 @@ enum { ALARM_START_WPS = 0,
This helps to save space for menus and options. */
#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
#ifdef SIMULATOR
/* a space which is defined in stubs.c */
extern unsigned char vp_dummy[VIRT_SIZE];
#define VIRT_PTR vp_dummy
#elif CONFIG_CPU==DM320
#if CONFIG_CPU==DM320
/* the DM320 has IRAM at 0, so we use 0xffff bytes right after that */
#define VIRT_PTR ((unsigned char*)0x4000)
#else

View file

@ -351,7 +351,3 @@ void system_reboot(void)
thread_sdl_exception_wait();
}
/* assure an unused place to direct virtual pointers to */
#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
unsigned char vp_dummy[VIRT_SIZE];