MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / IsKernel5xOrLater

Function IsKernel5xOrLater

projects/uLoader/source/ul/loader/loader_Target.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 inline bool IsKernel5xOrLater() {
70 u64 dummy = 0;
71 const auto rc = svcGetInfo(&dummy, InfoType_UserExceptionContextAddress, INVALID_HANDLE, 0);
72 return R_VALUE(rc) != KERNELRESULT(InvalidEnumValue);
73 }
74
75 enum class CodeMemoryCapability : u32 {
76 Unavailable = 0,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected