forked from len0rd/rockbox
HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9580 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
65293be9bf
commit
eb7d4f88ea
6 changed files with 12 additions and 12 deletions
|
@ -2453,7 +2453,7 @@ struct t_disp* get_image(struct jpeg* p_jpg, int ds)
|
|||
|
||||
/* the actual decoding */
|
||||
time = *rb->current_tick;
|
||||
#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
#if defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
rb->cpu_boost(true);
|
||||
status = jpeg_decode(p_jpg, p_disp->bitmap, ds, cb_progess);
|
||||
rb->cpu_boost(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue