1
0
mirror of https://github.com/switchbrew/libnx.git synced 2025-07-08 12:22:15 +02:00
libnx/nx/source/kernel/version.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;
}