| 61 | } |
| 62 | |
| 63 | inline bool IsKernel4x() { |
| 64 | u64 dummy = 0; |
| 65 | const auto rc = svcGetInfo(&dummy, InfoType_InitialProcessIdRange, INVALID_HANDLE, 0); |
| 66 | return R_VALUE(rc) != KERNELRESULT(InvalidEnumValue); |
| 67 | } |
| 68 | |
| 69 | inline bool IsKernel5xOrLater() { |
| 70 | u64 dummy = 0; |
no outgoing calls
no test coverage detected