summaryrefslogtreecommitdiffstats
path: root/apps/plugins/2048.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/2048.c')
-rw-r--r--apps/plugins/2048.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/2048.c b/apps/plugins/2048.c
index 08be294d88..1604b73c62 100644
--- a/apps/plugins/2048.c
+++ b/apps/plugins/2048.c
@@ -148,7 +148,9 @@ static inline int rand_range(int min, int max)
/* prepares for exit */
static void cleanup(void)
{
+#ifdef HAVE_BACKLIGHT
backlight_use_settings();
+#endif
}
/* returns 2 or 4 */
@@ -698,7 +700,9 @@ static void init_game(bool newgame)
max_numeral_width = rb->font_get_width(rb->font_get(WHAT_FONT), '0');
#endif
+#ifdef HAVE_BACKLIGHT
backlight_ignore_timeout();
+#endif
draw();
}