mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
fatal: use new vi enum value
This commit is contained in:
parent
5c140b4f35
commit
1f2de35f94
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user