diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-03-05 08:32:35 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-03-05 08:32:35 +0000 |
commit | e06faa0480c4671e6b81234510843724f9334cb4 (patch) | |
tree | 30183dc80d1052c59f08494a2dfbd0d9d0c5b575 | |
parent | 775b95c7d3e59d0bb74d1570af6590128b883c0b (diff) | |
download | rockbox-e06faa0480c4671e6b81234510843724f9334cb4.tar.gz rockbox-e06faa0480c4671e6b81234510843724f9334cb4.zip |
Use a larger font cache on the targets that can afford the (quite small) RAM usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12620 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/font.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/font.h b/firmware/export/font.h index c775128cd9..57991a5d50 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h | |||
@@ -30,7 +30,11 @@ | |||
30 | /* max static loadable font buffer size */ | 30 | /* max static loadable font buffer size */ |
31 | #ifndef MAX_FONT_SIZE | 31 | #ifndef MAX_FONT_SIZE |
32 | #if LCD_HEIGHT > 64 | 32 | #if LCD_HEIGHT > 64 |
33 | #if MEM > 2 | ||
34 | #define MAX_FONT_SIZE 60000 | ||
35 | #else | ||
33 | #define MAX_FONT_SIZE 10000 | 36 | #define MAX_FONT_SIZE 10000 |
37 | #endif | ||
34 | #else | 38 | #else |
35 | #define MAX_FONT_SIZE 4000 | 39 | #define MAX_FONT_SIZE 4000 |
36 | #endif | 40 | #endif |