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

Function LoadConfig

projects/uSystem/source/main.cpp:298–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296namespace {
297
298 void LoadConfig() {
299 ul::ScopedLock lk(g_ConfigLock);
300 g_Config = ul::cfg::LoadConfig();
301
302 u64 menu_program_id;
303 UL_ASSERT_TRUE(g_Config.GetEntry(ul::cfg::ConfigEntryId::MenuTakeoverProgramId, menu_program_id));
304 la::SetMenuProgramId(menu_program_id);
305 }
306
307 void PushMenuMessageContext(const ul::smi::MenuMessageContext msg_ctx) {
308 ul::ScopedLock lk(g_MenuMessageQueueLock);

Callers 3

HandleMenuMessageFunction · 0.70
InitializeFunction · 0.70
MainLoopFunction · 0.50

Calls 2

SetMenuProgramIdFunction · 0.85
GetEntryMethod · 0.80

Tested by

no test coverage detected