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@10114 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e1e4914def
commit
98d5212983
1 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
rb->memset(iedata, 0, iend - iedata);
|
||||
#endif
|
||||
|
||||
#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
#if defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
rb->cpu_boost(true);
|
||||
#endif
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
rb->pcm_set_frequency(44100); // 44100
|
||||
#endif
|
||||
|
||||
#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
#if defined(HAVE_ADJUSTABLE_CPU_FREQ)
|
||||
rb->cpu_boost(false);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue