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:
parent
5d190bc13c
commit
353ebd0967
2 changed files with 1 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue