forked from len0rd/rockbox
Always unboost at exit
Change-Id: I8b4a2d61a5f4491265888d84c0f2c684bcf38edb Reviewed-on: http://gerrit.rockbox.org/915 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
This commit is contained in:
parent
030f51ce81
commit
ec844f8b6d
1 changed files with 3 additions and 0 deletions
|
@ -703,6 +703,9 @@ static void exit_handler(void)
|
||||||
cleanup();
|
cleanup();
|
||||||
if(abnormal_exit)
|
if(abnormal_exit)
|
||||||
save_game();
|
save_game();
|
||||||
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
|
rb->cpu_boost(false); /* back to idle */
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
static bool check_hs;
|
static bool check_hs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue