From 1f2de35f946dc81401b02b1d41fc480c16bc9cec Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 7 Aug 2019 13:02:02 -0700 Subject: [PATCH] fatal: use new vi enum value --- stratosphere/fatal/source/fatal_task_screen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stratosphere/fatal/source/fatal_task_screen.cpp b/stratosphere/fatal/source/fatal_task_screen.cpp index 0b7c26ff8..7ad948d06 100644 --- a/stratosphere/fatal/source/fatal_task_screen.cpp +++ b/stratosphere/fatal/source/fatal_task_screen.cpp @@ -105,8 +105,7 @@ namespace sts::fatal::srv { R_TRY(viSetDisplayPowerState(&temp_display, ViPowerState_On)); } else { /* Prior to 3.0.0, the ViPowerState enum was different (0 = Off, 1 = On). */ - /* In lieu of a ViPowerState_OnDeprecated entry, just send the correct value manually. */ - R_TRY(viSetDisplayPowerState(&temp_display, static_cast(1))); + R_TRY(viSetDisplayPowerState(&temp_display, ViPowerState_On_Deprecated)); } /* Set alpha to 1.0f. */