diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-10-16 15:55:12 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-10-16 15:55:12 +0000 |
commit | 4f3e1d6b487c5a197caf2351e4ed607a056811fd (patch) | |
tree | 48a12d0d9dc0a580346b432bb1ab9c74f6c32be3 /apps/gui/skin_engine/wps_internals.h | |
parent | 899865a70b0acf16e5e6fa5c6fd2649db1769bc2 (diff) | |
download | rockbox-4f3e1d6b487c5a197caf2351e4ed607a056811fd.tar.gz rockbox-4f3e1d6b487c5a197caf2351e4ed607a056811fd.zip |
Fix FS#12320 - need substitute to /.rockbox/skin_buffer_size.txt
Since recent skin engine related commits images aren't stored on the skin
buffer anymore. The buffer was decreased accordingly. Now some themes used that
buffer more for tokens than images and are now broken.
To fix, increase the max token count, while optimizing the two most often
allocated structs for size (so no net ram usage increase).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30762 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index c16191c41d..ed09ad0938 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -135,7 +135,7 @@ struct align_pos { | |||
135 | #define WPS_MAX_VIEWPORTS 24 | 135 | #define WPS_MAX_VIEWPORTS 24 |
136 | #define WPS_MAX_LINES ((LCD_HEIGHT/5+1) * 2) | 136 | #define WPS_MAX_LINES ((LCD_HEIGHT/5+1) * 2) |
137 | #define WPS_MAX_SUBLINES (WPS_MAX_LINES*3) | 137 | #define WPS_MAX_SUBLINES (WPS_MAX_LINES*3) |
138 | #define WPS_MAX_TOKENS 1024 | 138 | #define WPS_MAX_TOKENS 1150 |
139 | #define WPS_MAX_STRINGS 128 | 139 | #define WPS_MAX_STRINGS 128 |
140 | #define STRING_BUFFER_SIZE 1024 | 140 | #define STRING_BUFFER_SIZE 1024 |
141 | #define WPS_MAX_COND_LEVEL 10 | 141 | #define WPS_MAX_COND_LEVEL 10 |