fatal: use new vi enum value

This commit is contained in:
Michael Scire 2019-08-07 13:02:02 -07:00
parent 5c140b4f35
commit 1f2de35f94

View File

@ -105,8 +105,7 @@ namespace sts::fatal::srv {
R_TRY(viSetDisplayPowerState(&temp_display, ViPowerState_On)); R_TRY(viSetDisplayPowerState(&temp_display, ViPowerState_On));
} else { } else {
/* Prior to 3.0.0, the ViPowerState enum was different (0 = Off, 1 = On). */ /* 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, ViPowerState_On_Deprecated));
R_TRY(viSetDisplayPowerState(&temp_display, static_cast<ViPowerState>(1)));
} }
/* Set alpha to 1.0f. */ /* Set alpha to 1.0f. */