test_codec: fix menu broken in r28637

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28659 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-11-24 16:42:40 +00:00
parent 286eceb04b
commit 05434ebaf8

View file

@ -891,7 +891,11 @@ menu:
scandir = 0; scandir = 0;
if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR))) if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR)))
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
result -= 7;
#else
result -= 6; result -= 6;
#endif
if ((use_dsp = ((result >= SPEED_TEST_WITH_DSP) if ((use_dsp = ((result >= SPEED_TEST_WITH_DSP)
&& (result <= WRITE_WAV_WITH_DSP)))) { && (result <= WRITE_WAV_WITH_DSP)))) {