mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
Merge pull request #12401 from davidgfnet/br3
Add brightness restore hook
This commit is contained in:
commit
ad5b2d614a
@ -35551,6 +35551,9 @@ bool retroarch_main_init(int argc, char *argv[])
|
|||||||
menu_driver_find_driver(p_rarch, settings,
|
menu_driver_find_driver(p_rarch, settings,
|
||||||
"menu driver", verbosity_enabled);
|
"menu driver", verbosity_enabled);
|
||||||
#endif
|
#endif
|
||||||
|
/* Enforce stored brightness if needed */
|
||||||
|
if (frontend_driver_can_set_screen_brightness())
|
||||||
|
frontend_driver_set_screen_brightness(settings->uints.screen_brightness);
|
||||||
|
|
||||||
/* Attempt to initialize core */
|
/* Attempt to initialize core */
|
||||||
if (p_rarch->has_set_core)
|
if (p_rarch->has_set_core)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user