mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
fatal: use new vi enum value
This commit is contained in:
parent
5c140b4f35
commit
1f2de35f94
1 changed files with 1 additions and 2 deletions
|
@ -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<ViPowerState>(1)));
|
||||
R_TRY(viSetDisplayPowerState(&temp_display, ViPowerState_On_Deprecated));
|
||||
}
|
||||
|
||||
/* Set alpha to 1.0f. */
|
||||
|
|
Loading…
Reference in a new issue