summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-11-24 16:42:40 +0000
committerNils Wallménius <nils@rockbox.org>2010-11-24 16:42:40 +0000
commit05434ebaf8842330997bfea5cbe262f9b832ef6d (patch)
tree0c9c5711cee0f7ecd7de6239a5b1ea1b5a717764 /apps
parent286eceb04b61b59fbfe2f12832fe883cf64cadf7 (diff)
downloadrockbox-05434ebaf8842330997bfea5cbe262f9b832ef6d.tar.gz
rockbox-05434ebaf8842330997bfea5cbe262f9b832ef6d.zip
test_codec: fix menu broken in r28637
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28659 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/test_codec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 7adaa8ea1c..2d0f610d88 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -891,7 +891,11 @@ menu:
891 scandir = 0; 891 scandir = 0;
892 892
893 if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR))) 893 if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR)))
894#ifdef HAVE_ADJUSTABLE_CPU_FREQ
895 result -= 7;
896#else
894 result -= 6; 897 result -= 6;
898#endif
895 899
896 if ((use_dsp = ((result >= SPEED_TEST_WITH_DSP) 900 if ((use_dsp = ((result >= SPEED_TEST_WITH_DSP)
897 && (result <= WRITE_WAV_WITH_DSP)))) { 901 && (result <= WRITE_WAV_WITH_DSP)))) {