summaryrefslogtreecommitdiffstats
path: root/apps/tagcache.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-06-03 09:38:06 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-06-03 09:38:06 +0000
commit52a8e38806f801994b3797251b634378fcbdb6ec (patch)
tree75629bc738e48a1e482d8177ead6b832ec500b09 /apps/tagcache.h
parent1248a0dc1fe970951fdba063b88d8ad8c96db912 (diff)
downloadrockbox-52a8e38806f801994b3797251b634378fcbdb6ec.tar.gz
rockbox-52a8e38806f801994b3797251b634378fcbdb6ec.tar.bz2
rockbox-52a8e38806f801994b3797251b634378fcbdb6ec.zip
Replace bitfield for tagcache tag sets with array of char on SH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21176 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
-rw-r--r--apps/tagcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 8863ecb7df..d7047178e1 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -104,7 +104,8 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
(1LU << tag_virt_entryage) | (1LU << tag_virt_autoscore))
#ifdef CPU_SH
-#define TAGCACHE_IS_NUMERIC(tag) (tagcache_is_numeric_tag(tag))
+extern const char tagcache_numeric_tags[];
+#define TAGCACHE_IS_NUMERIC(tag) ((bool)tagcache_numeric_tags[tag])
#else
#define TAGCACHE_IS_NUMERIC(tag) ((1LU << tag) & TAGCACHE_NUMERIC_TAGS)
#endif