diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-23 23:00:29 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-11-23 23:00:29 -0500 |
commit | 97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d (patch) | |
tree | b032a1397fd33240d8fdc7d6e17059723d0ffe55 /apps/plugins/doom/rockdoom.c | |
parent | 3745c813f924b12232c4f37610aecd23fe5654b8 (diff) | |
download | rockbox-97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d.tar.gz rockbox-97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d.zip |
plugins HAVE_BACKLIGHT helper remove ifdefs in favor of dummy functions
lessen the ifdef hell
Change-Id: I52f830284e4599f3fc3a75c27dda27058b8de1a3
Diffstat (limited to 'apps/plugins/doom/rockdoom.c')
-rw-r--r-- | apps/plugins/doom/rockdoom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c index 6594859c08..b68107f8aa 100644 --- a/apps/plugins/doom/rockdoom.c +++ b/apps/plugins/doom/rockdoom.c | |||
@@ -722,9 +722,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
722 | systemvol= rb->global_settings->volume-rb->global_settings->volume%mod; | 722 | systemvol= rb->global_settings->volume-rb->global_settings->volume%mod; |
723 | general_translucency = default_translucency; // phares | 723 | general_translucency = default_translucency; // phares |
724 | 724 | ||
725 | #ifdef HAVE_BACKLIGHT | 725 | |
726 | backlight_ignore_timeout(); | 726 | backlight_ignore_timeout(); |
727 | #endif | 727 | |
728 | #ifdef RB_PROFILE | 728 | #ifdef RB_PROFILE |
729 | rb->profile_thread(); | 729 | rb->profile_thread(); |
730 | #endif | 730 | #endif |
@@ -738,9 +738,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
738 | #ifdef RB_PROFILE | 738 | #ifdef RB_PROFILE |
739 | rb->profstop(); | 739 | rb->profstop(); |
740 | #endif | 740 | #endif |
741 | #ifdef HAVE_BACKLIGHT | 741 | |
742 | backlight_use_settings(); | 742 | backlight_use_settings(); |
743 | #endif | 743 | |
744 | M_SaveDefaults (); | 744 | M_SaveDefaults (); |
745 | 745 | ||
746 | I_Quit(); // Make SURE everything was closed out right | 746 | I_Quit(); // Make SURE everything was closed out right |