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

Function titleSelectInit

source/ui/titleselect.c:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void titleSelectInit(menuEntry_s* me)
42{
43 s_launchEntry = me;
44 titlesCheckUpdate(false, UI_STATE_NULL);
45 s_lastUpdate = osGetTime();
46 if (!titlesCount())
47 {
48 errorScreen(textGetString(StrId_TitleSelector), textGetString(StrId_NoTitlesFound));
49 return;
50 }
51 s_curTitle = -1;
52 menuEntryInit(&s_iconEntry, ENTRY_TYPE_FILE);
53 uiEnterState(UI_STATE_TITLESELECT);
54}
55
56static void launchEntry(void* unused)
57{

Callers 1

launchMenuEntryFunction · 0.85

Calls 6

titlesCheckUpdateFunction · 0.85
titlesCountFunction · 0.85
errorScreenFunction · 0.85
textGetStringFunction · 0.85
menuEntryInitFunction · 0.85
uiEnterStateFunction · 0.85

Tested by

no test coverage detected