mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-28 14:02:40 +02:00
pm: Update to support 10.0.0
This commit is contained in:
parent
dd81610366
commit
04fd512153
@ -21,6 +21,7 @@ namespace ams::spl {
|
|||||||
|
|
||||||
HardwareType GetHardwareType();
|
HardwareType GetHardwareType();
|
||||||
MemoryArrangement GetMemoryArrangement();
|
MemoryArrangement GetMemoryArrangement();
|
||||||
|
bool IsDisabledProgramVerification();
|
||||||
bool IsDevelopmentHardware();
|
bool IsDevelopmentHardware();
|
||||||
bool IsDevelopmentFunctionEnabled();
|
bool IsDevelopmentFunctionEnabled();
|
||||||
bool IsMariko();
|
bool IsMariko();
|
||||||
|
@ -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 IsDevelopmentHardware() {
|
||||||
bool is_dev_hardware;
|
bool is_dev_hardware;
|
||||||
R_ABORT_UNLESS(splIsDevelopment(&is_dev_hardware));
|
R_ABORT_UNLESS(splIsDevelopment(&is_dev_hardware));
|
||||||
|
Loading…
Reference in New Issue
Block a user