summaryrefslogtreecommitdiff
path: root/apps/plugins/brickmania.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/brickmania.c')
-rw-r--r--apps/plugins/brickmania.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index dd46f98b8e..5764c6869d 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -2526,9 +2526,10 @@ enum plugin_status plugin_start(const void* parameter)
2526#if LCD_DEPTH > 1 2526#if LCD_DEPTH > 1
2527 rb->lcd_set_backdrop(NULL); 2527 rb->lcd_set_backdrop(NULL);
2528#endif 2528#endif
2529#ifdef HAVE_BACKLIGHT
2529 /* Turn off backlight timeout */ 2530 /* Turn off backlight timeout */
2530 backlight_ignore_timeout(); 2531 backlight_ignore_timeout();
2531 2532#endif
2532 /* now go ahead and have fun! */ 2533 /* now go ahead and have fun! */
2533 rb->srand( *rb->current_tick ); 2534 rb->srand( *rb->current_tick );
2534 brickmania_loadgame(); 2535 brickmania_loadgame();
@@ -2557,8 +2558,9 @@ enum plugin_status plugin_start(const void* parameter)
2557 configfile_save(CONFIG_FILE_NAME,config,1,0); 2558 configfile_save(CONFIG_FILE_NAME,config,1,0);
2558 /* Restore user's original backlight setting */ 2559 /* Restore user's original backlight setting */
2559 rb->lcd_setfont(FONT_UI); 2560 rb->lcd_setfont(FONT_UI);
2561#ifdef HAVE_BACKLIGHT
2560 /* Turn on backlight timeout (revert to settings) */ 2562 /* Turn on backlight timeout (revert to settings) */
2561 backlight_use_settings(); 2563 backlight_use_settings();
2562 2564#endif
2563 return PLUGIN_OK; 2565 return PLUGIN_OK;
2564} 2566}