summaryrefslogtreecommitdiffstats
path: root/apps/plugins/doom/rockdoom.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-24 19:20:15 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 19:20:15 -0400
commit9be5bc4cf0d185f4515174b9ebbb105f73f7c2e3 (patch)
tree46b4a9f4650d288bcbe67e92a9138b45c06105fa /apps/plugins/doom/rockdoom.c
parent2127906384d618e032692becba10aeda1b3e1974 (diff)
downloadrockbox-9be5bc4cf0.tar.gz
rockbox-9be5bc4cf0.tar.bz2
rockbox-9be5bc4cf0.zip
plugins: More HAVE_BACKLIGHT cleanup
Change-Id: I70cf700f5bc3d4375c025efa62ef40fd2bd70293
Diffstat (limited to 'apps/plugins/doom/rockdoom.c')
-rw-r--r--apps/plugins/doom/rockdoom.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index 85e3225af8..6594859c08 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -722,7 +722,9 @@ enum plugin_status plugin_start(const void* parameter)
systemvol= rb->global_settings->volume-rb->global_settings->volume%mod;
general_translucency = default_translucency; // phares
+#ifdef HAVE_BACKLIGHT
backlight_ignore_timeout();
+#endif
#ifdef RB_PROFILE
rb->profile_thread();
#endif
@@ -736,8 +738,9 @@ enum plugin_status plugin_start(const void* parameter)
#ifdef RB_PROFILE
rb->profstop();
#endif
+#ifdef HAVE_BACKLIGHT
backlight_use_settings();
-
+#endif
M_SaveDefaults ();
I_Quit(); // Make SURE everything was closed out right