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@9579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2006-04-09 14:20:14 +00:00
parent f03e0530c3
commit 65293be9bf

View file

@ -838,11 +838,13 @@ void sudoku_generate(struct sudoku_state_t* state)
display_board(state);
rb->splash(0, true, "Generating...");
#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(true);
#endif
sudoku_generate_board(state,&difficulty);
#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(false);
#endif