diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-16 18:23:00 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-08-16 18:23:00 +0000 |
| commit | 18a8e529b5d14413dce83cdb9103f3426db10708 (patch) | |
| tree | 5ac9e53a987b6a48c92281b32aba9b6ca9bcab08 /apps/settings.c | |
| parent | eefe832785407c387e71aba476091e805eecc3f4 (diff) | |
| download | rockbox-18a8e529b5d14413dce83cdb9103f3426db10708.zip rockbox-18a8e529b5d14413dce83cdb9103f3426db10708.tar.gz rockbox-18a8e529b5d14413dce83cdb9103f3426db10708.tar.bz2 rockbox-18a8e529b5d14413dce83cdb9103f3426db10708.tar.xz | |
more wps->skin engine work..
start redoing memory management in the skins to use a single larger buffer instead of lots of arrays for things like images and progressbars.
This commit removes the limit on the amount of progressbars allowed on the screen, still 1 per viewport, but unlimited otherwise(!)
Also a larger buffer for remote targets, same size for non-remote targets but very easy to make it bigger (technically removed the 52(?) image limit in skins, except still limited to 1 char identifiers)
Unlimited "string" tokens now (limit was 1024 which was rediculously wasteful)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22350 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
| -rw-r--r-- | apps/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c index bd2958e..72e5a01 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -70,6 +70,7 @@ #include "radio.h" #endif #include "wps.h" +#include "skin_engine/skin_engine.h" #if CONFIG_CODEC == MAS3507D void dac_line_in(bool enable); @@ -818,6 +819,8 @@ void settings_apply(bool read_disk) if (read_disk) { + /* re-initialize the skin buffer before we start reloading skins */ + skin_buffer_init(); #ifdef HAVE_LCD_BITMAP /* fonts need to be loaded before the WPS */ |