diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2010-11-22 02:28:12 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2010-11-22 02:28:12 +0000 |
| commit | 3f932318e2a304a0c4c84ec1210e4108b0217844 (patch) | |
| tree | a2f3e13b7b66009f9fd02feb0696ee3fb349c947 /apps/plugins/test_codec.c | |
| parent | 7094181157731fa5f224393abae5a3d4353fc79c (diff) | |
| download | rockbox-3f932318e2a304a0c4c84ec1210e4108b0217844.zip rockbox-3f932318e2a304a0c4c84ec1210e4108b0217844.tar.gz rockbox-3f932318e2a304a0c4c84ec1210e4108b0217844.tar.bz2 rockbox-3f932318e2a304a0c4c84ec1210e4108b0217844.tar.xz | |
Fix mistake on targets without frequency scaling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28638 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_codec.c')
| -rw-r--r-- | apps/plugins/test_codec.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index c35ca93..7adaa8e 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -867,8 +867,10 @@ show_menu: #ifdef HAVE_ADJUSTABLE_CPU_FREQ menu: - result = rb->do_menu(&menu, &selection, NULL, false); +#endif + result = rb->do_menu(&menu, &selection, NULL, false); +#ifdef HAVE_ADJUSTABLE_CPU_FREQ if (result == BOOST) { @@ -876,6 +878,8 @@ menu: boost_settings, 2, NULL); goto menu; } + if(boost) + rb->cpu_boost(true); #endif if (result == QUIT) @@ -884,11 +888,6 @@ menu: goto exit; } -#ifdef HAVE_ADJUSTABLE_CPU_FREQ - if(boost) - rb->cpu_boost(true); -#endif - scandir = 0; if ((checksum = (result == CHECKSUM || result == CHECKSUM_DIR))) |