summaryrefslogtreecommitdiff
path: root/apps/plugins/2048.c
diff options
context:
space:
mode:
authorAvi Eisenberg <613ike@gmail.com>2014-08-17 21:56:08 -0400
committerJonathan Gordon <rockbox@jdgordon.info>2014-08-18 04:12:43 +0200
commitec844f8b6dbd0af6489661615dfb7aba3f251ad1 (patch)
tree392de7a2086017f114f547134050b2fe39edb757 /apps/plugins/2048.c
parent030f51ce818e06cd35f2e5ada0e7cebb98bfe2d5 (diff)
downloadrockbox-ec844f8b6dbd0af6489661615dfb7aba3f251ad1.tar.gz
rockbox-ec844f8b6dbd0af6489661615dfb7aba3f251ad1.zip
Always unboost at exit
Change-Id: I8b4a2d61a5f4491265888d84c0f2c684bcf38edb Reviewed-on: http://gerrit.rockbox.org/915 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Diffstat (limited to 'apps/plugins/2048.c')
-rw-r--r--apps/plugins/2048.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/2048.c b/apps/plugins/2048.c
index 9a74b0ff38..30f8899974 100644
--- a/apps/plugins/2048.c
+++ b/apps/plugins/2048.c
@@ -703,6 +703,9 @@ static void exit_handler(void)
703 cleanup(); 703 cleanup();
704 if(abnormal_exit) 704 if(abnormal_exit)
705 save_game(); 705 save_game();
706#ifdef HAVE_ADJUSTABLE_CPU_FREQ
707 rb->cpu_boost(false); /* back to idle */
708#endif
706 return; 709 return;
707} 710}
708static bool check_hs; 711static bool check_hs;