mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
13 lines
249 B
C
13 lines
249 B
C
// Copyright 2017 plutoo
|
|
#include <switch.h>
|
|
|
|
bool kernelAbove200() {
|
|
u64 tmp;
|
|
return svcGetInfo(&tmp, 12, INVALID_HANDLE, 0) != 0xF001;
|
|
}
|
|
|
|
bool kernelAbove300() {
|
|
u64 tmp;
|
|
return svcGetInfo(&tmp, 18, INVALID_HANDLE, 0) != 0xF001;
|
|
}
|