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

Function InitializeSystemModule

projects/uSystem/source/main.cpp:1547–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1545 namespace init {
1546
1547 void InitializeSystemModule() {
1548 __nx_applet_type = AppletType_SystemApplet;
1549 __nx_fs_num_sessions = 3;
1550
1551 UL_RC_ASSERT(sm::Initialize());
1552 UL_RC_ASSERT(fsInitialize());
1553
1554 UL_RC_ASSERT(appletInitialize());
1555
1556 UL_RC_ASSERT(nsInitialize());
1557 UL_RC_ASSERT(ldrShellInitialize());
1558 UL_RC_ASSERT(pmshellInitialize());
1559 UL_RC_ASSERT(setsysInitialize());
1560
1561 // FS and log init is intentionally done at the end, otherwise the SD doesn't seem to be always ready...?
1562 UL_RC_ASSERT(fsdevMountSdmc());
1563 ul::InitializeLogging("uSystem");
1564 }
1565
1566 void FinalizeSystemModule() {
1567 setsysExit();

Callers

nothing calls this directly

Calls 2

InitializeLoggingFunction · 0.85
InitializeFunction · 0.70

Tested by

no test coverage detected