mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Detect 4.0.0
This commit is contained in:
parent
d3c8f58db4
commit
91afc81ce1
@ -1,3 +1,4 @@
|
||||
// Copyright 2017 plutoo
|
||||
bool kernelAbove200();
|
||||
bool kernelAbove300();
|
||||
bool kernelAbove400();
|
||||
|
@ -10,3 +10,8 @@ bool kernelAbove300() {
|
||||
u64 tmp;
|
||||
return svcGetInfo(&tmp, 18, INVALID_HANDLE, 0) != 0xF001;
|
||||
}
|
||||
|
||||
bool kernelAbove400() {
|
||||
u64 tmp;
|
||||
return svcGetInfo(&tmp, 19, INVALID_HANDLE, 0) != 0xF001;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user