MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / RequestLoadApplications

Function RequestLoadApplications

Goldleaf/source/cnt/cnt_Content.cpp:240–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 }
239
240 void RequestLoadApplications() {
241 if(!g_LoadApplicationsThreadDone) {
242 threadWaitForExit(&g_LoadApplicationsThread);
243 }
244 threadClose(&g_LoadApplicationsThread);
245
246 g_LoadApplicationsThreadDone = false;
247 GLEAF_RC_ASSERT(threadCreate(&g_LoadApplicationsThread, LoadApplicationsMain, nullptr, nullptr, 512_KB, 0x1F, -2));
248 GLEAF_RC_ASSERT(threadStart(&g_LoadApplicationsThread));
249
250 svcSleepThread(10'000'000ul);
251 }
252
253 Result RemoveApplicationContentMeta(const cnt::Application &app, const cnt::ApplicationContent &cnt) {
254 s32 content_meta_count;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected