diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2011-07-01 13:48:28 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2011-07-01 13:48:28 +0000 |
| commit | 337e922685d11f80fa9e7b164511e043044b6302 (patch) | |
| tree | 0a728c0476cbd41b91b189fbf995f2914a4bf360 /apps/tagcache.h | |
| parent | 563a185ff4521633e47d598210615c35acc44830 (diff) | |
| download | rockbox-337e922685d11f80fa9e7b164511e043044b6302.zip rockbox-337e922685d11f80fa9e7b164511e043044b6302.tar.gz rockbox-337e922685d11f80fa9e7b164511e043044b6302.tar.bz2 rockbox-337e922685d11f80fa9e7b164511e043044b6302.tar.xz | |
Allocate indices directly in ramcache header. Add version code to
tagcache state dump header. Debug: hdr-structure corruption might
happen after rebuilding of dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30109 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
| -rw-r--r-- | apps/tagcache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h index 6f23bfc..1dad012 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h @@ -52,6 +52,9 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title, /* Tag Cache Header version 'TCHxx'. Increment when changing internal structures. */ #define TAGCACHE_MAGIC 0x5443480e +/* Dump store/restore header version 'TCSxx'. */ +#define TAGCACHE_STATEFILE_MAGIC 0x54435301 + /* How much to allocate extra space for ramcache. */ #define TAGCACHE_RESERVE 32768 |