MCPcopy Create free account
hub / github.com/devkitPro/libctru / miiSelectorLaunch

Function miiSelectorLaunch

libctru/source/applets/miiselector.c:21–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void miiSelectorLaunch(const MiiSelectorConf *conf, MiiSelectorReturn *returnbuf)
22{
23 union {
24 MiiSelectorConf config;
25 MiiSelectorReturn ret;
26 } ctx;
27
28 memcpy(&ctx.config, conf, sizeof(MiiSelectorConf));
29 ctx.config.magic = MIISELECTOR_MAGIC;
30
31 aptLaunchLibraryApplet(APPID_APPLETED, &ctx.config, sizeof(MiiSelectorConf), 0);
32 if(returnbuf)
33 memcpy(returnbuf, &ctx.ret, sizeof(MiiSelectorReturn));
34}
35
36static void miiSelectorConvertToUTF8(char* out, const u16* in, int max)
37{

Callers

nothing calls this directly

Calls 1

aptLaunchLibraryAppletFunction · 0.85

Tested by

no test coverage detected