diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-10 16:22:03 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-10 16:22:03 +0000 |
commit | 9cd5c3e1195d872cbac2e8744bac5430490f6636 (patch) | |
tree | 8e70af5786bf38379333c38f63bea6e379f01b07 /apps/settings.c | |
parent | dae39989db4809d02cb4f6743c5f152a78ea0f8b (diff) | |
download | rockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.tar.gz rockbox-9cd5c3e1195d872cbac2e8744bac5430490f6636.zip |
Tagcache update: Support removal of entries and no longer the need for
dircache to load tagcache in ram (however, dircache with tagcache is
still strongly recommended).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10192 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index 6d7f250436..fb2b369cd7 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -94,7 +94,7 @@ const char rec_base_directory[] = REC_BASE_DIR; | |||
94 | #include "dsp.h" | 94 | #include "dsp.h" |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | #define CONFIG_BLOCK_VERSION 44 | 97 | #define CONFIG_BLOCK_VERSION 45 |
98 | #define CONFIG_BLOCK_SIZE 512 | 98 | #define CONFIG_BLOCK_SIZE 512 |
99 | #define RTC_BLOCK_SIZE 44 | 99 | #define RTC_BLOCK_SIZE 44 |
100 | 100 | ||
@@ -554,8 +554,11 @@ static const struct bit_entry hd_bits[] = | |||
554 | #ifdef HAVE_DIRCACHE | 554 | #ifdef HAVE_DIRCACHE |
555 | {1, S_O(dircache), false, "dircache", off_on }, | 555 | {1, S_O(dircache), false, "dircache", off_on }, |
556 | {22, S_O(dircache_size), 0, NULL, NULL }, | 556 | {22, S_O(dircache_size), 0, NULL, NULL }, |
557 | #endif | ||
558 | #ifdef HAVE_TC_RAMCACHE | ||
557 | {1, S_O(tagcache_ram), 0, "tagcache_ram", off_on }, | 559 | {1, S_O(tagcache_ram), 0, "tagcache_ram", off_on }, |
558 | #endif | 560 | #endif |
561 | {1, S_O(tagcache_autoupdate), 0, "tagcache_autoupdate", off_on }, | ||
559 | 562 | ||
560 | {4, S_O(default_codepage), 0, "default codepage", | 563 | {4, S_O(default_codepage), 0, "default codepage", |
561 | "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8,cp1256" }, | 564 | "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,cp1256,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8,cp1256" }, |
@@ -563,6 +566,7 @@ static const struct bit_entry hd_bits[] = | |||
563 | {1, S_O(warnon_erase_dynplaylist), false, | 566 | {1, S_O(warnon_erase_dynplaylist), false, |
564 | "warn when erasing dynamic playlist", off_on }, | 567 | "warn when erasing dynamic playlist", off_on }, |
565 | 568 | ||
569 | |||
566 | /* If values are just added to the end, no need to bump the version. */ | 570 | /* If values are just added to the end, no need to bump the version. */ |
567 | /* new stuff to be added at the end */ | 571 | /* new stuff to be added at the end */ |
568 | 572 | ||