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

Function IsApplet

projects/uLoader/include/ul/loader/loader_ProgramIdUtils.hpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace ul::loader {
6
7 inline constexpr bool IsApplet(const u64 program_id) {
8 return (0x0100000000001000 <= program_id) && (program_id <= 0x0100000000001FFF);
9 }
10
11 inline constexpr bool IsApplication(const u64 program_id) {
12 // TODO (pedantic): shall we also be strict on the upper bound?

Callers 1

GetAppletTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected