1
0
Fork 0
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:
Avi Eisenberg 2014-08-17 21:56:08 -04:00 committed by Jonathan Gordon
parent 030f51ce81
commit ec844f8b6d

View file

@ -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;