mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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", verbosity_enabled);
|
||||
#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 */
|
||||
if (p_rarch->has_set_core)
|
||||
|
Loading…
x
Reference in New Issue
Block a user