mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
563a185ff4
commit
337e922685
2 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue