pm: Update to support 10.0.0

This commit is contained in:
Michael Scire 2020-04-14 02:54:55 -07:00
parent 73552c86c3
commit 200d2df785
3 changed files with 17 additions and 0 deletions

View file

@ -41,6 +41,12 @@ namespace ams::spl {
}
}
bool IsDisabledProgramVerification() {
u64 val = 0;
R_ABORT_UNLESS(splGetConfig(SplConfigItem_DisableProgramVerification, &val));
return val != 0;
}
bool IsDevelopmentHardware() {
bool is_dev_hardware;
R_ABORT_UNLESS(splIsDevelopment(&is_dev_hardware));