mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Added pctlIsStereoVisionPermitted.
This commit is contained in:
parent
1c832bebd6
commit
2916bd631a
@ -15,3 +15,6 @@ void pctlExit(void);
|
||||
/// Gets whether Parental Controls are enabled.
|
||||
Result pctlIsRestrictionEnabled(bool *flag);
|
||||
|
||||
/// Gets whether VrMode is allowed. Only available with [5.0.0+].
|
||||
Result pctlIsStereoVisionPermitted(bool *flag);
|
||||
|
||||
|
@ -154,3 +154,10 @@ Result pctlIsRestrictionEnabled(bool *flag) {
|
||||
return _pctlNoInputOutBool(1031, flag);
|
||||
}
|
||||
|
||||
Result pctlIsStereoVisionPermitted(bool *flag) {
|
||||
if (hosversionBefore(5,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
return _pctlNoInputOutBool(1065, flag);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user