mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 22:02:15 +00:00
sept-s: turn on backlight after drawing image.
This commit is contained in:
parent
656053582a
commit
f1ea368585
1 changed files with 4 additions and 4 deletions
|
@ -116,10 +116,6 @@ static void setup_env(void) {
|
|||
/* Set the framebuffer. */
|
||||
display_init_framebuffer(g_framebuffer);
|
||||
|
||||
/* Turn on the backlight after initializing the lfb */
|
||||
/* to avoid flickering. */
|
||||
display_backlight(true);
|
||||
|
||||
/* Set display background color. */
|
||||
for (size_t i = 0; i < 1280 * 768 * 4; i += 4) {
|
||||
MAKE_REG32((uintptr_t)g_framebuffer + i) = 0xFF37394C;
|
||||
|
@ -128,6 +124,10 @@ static void setup_env(void) {
|
|||
/* Draw splash. */
|
||||
draw_splash((volatile uint32_t *)g_framebuffer);
|
||||
|
||||
/* Turn on the backlight after initializing the lfb */
|
||||
/* to avoid flickering. */
|
||||
display_backlight(true);
|
||||
|
||||
/* Set up the exception handlers. */
|
||||
setup_exception_handlers();
|
||||
|
||||
|
|
Loading…
Reference in a new issue