MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / launchInit

Function launchInit

source/launch.c:7–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5static Handle s_hbKill;
6
7void launchInit(void)
8{
9#define ADD_LOADER(_name) do \
10 { \
11 extern const loaderFuncs_s _name; \
12 if (_name.init()) \
13 { \
14 s_loader = &_name; \
15 return; \
16 } \
17 } while(0)
18
19 s_hbKill = envGetHandle("hb:kill");
20
21 ADD_LOADER(loader_Rosalina);
22 ADD_LOADER(loader_Ninjhax2);
23
24 // Shouldn't happen
25 svcBreak(USERBREAK_PANIC);
26}
27
28void launchExit(void)
29{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected