diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-07-23 23:01:20 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-07-23 23:01:20 +0000 |
commit | b1403ee024f81ced657261441571ee5e8bab71ce (patch) | |
tree | 3a7e1651d37bd35e801a331416654760cb61a075 /uisimulator | |
parent | 15d04fdb00e7f94aef49cf9a70e73c5a46e21536 (diff) | |
download | rockbox-b1403ee024f81ced657261441571ee5e8bab71ce.tar.gz rockbox-b1403ee024f81ced657261441571ee5e8bab71ce.zip |
New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/common/stubs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index ceb8ba1ebe..700188fe2a 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include "string.h" | 29 | #include "string.h" |
30 | #include "lcd.h" | 30 | #include "lcd.h" |
31 | #include "settings.h" | ||
31 | 32 | ||
32 | extern char having_new_lcd; | 33 | extern char having_new_lcd; |
33 | 34 | ||
@@ -277,3 +278,7 @@ void remove_thread(int threadnum) | |||
277 | { | 278 | { |
278 | (void)threadnum; | 279 | (void)threadnum; |
279 | } | 280 | } |
281 | |||
282 | /* assure an unused place to direct virtual pointers to */ | ||
283 | unsigned char vp_dummy[VIRT_SIZE]; | ||
284 | |||