diff options
author | Fred Bauer <fred.w.bauer@gmail.com> | 2011-10-16 13:18:46 +0000 |
---|---|---|
committer | Fred Bauer <fred.w.bauer@gmail.com> | 2011-10-16 13:18:46 +0000 |
commit | 100974162d20b259ee7145404ee74acd01f483b7 (patch) | |
tree | 8bd27074de8423e600905a3395689916fe0ee984 /firmware/powermgmt.c | |
parent | 50ac7ca7742e1bec2dd4d66ddffe7b1fe39535dd (diff) | |
download | rockbox-100974162d20b259ee7145404ee74acd01f483b7.tar.gz rockbox-100974162d20b259ee7145404ee74acd01f483b7.tar.bz2 rockbox-100974162d20b259ee7145404ee74acd01f483b7.zip |
FS:12299 Font glyph cache is no longer saved. Each font will now have its own glyph cache file with the extension '.gc' Includes a temporary fix that delays saving the file to prevent the creation of multiple gc files with same name. Mostly JD Gordon's code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30760 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 79a7a90a2b..76322d65a3 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -656,7 +656,7 @@ void shutdown_hw(void) if (battery_level_safe()) { /* do not save on critical battery */ #ifdef HAVE_LCD_BITMAP - glyph_cache_save(NULL); + font_unload_all(); #endif /* Commit pending writes if needed. Even though we don't do write caching, |