From 52a8e38806f801994b3797251b634378fcbdb6ec Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Wed, 3 Jun 2009 09:38:06 +0000 Subject: 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 --- apps/tagcache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/tagcache.h') 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 -- cgit v1.2.3