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

Function CSND_Shutdown

libctru/source/services/csnd.c:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static Result CSND_Shutdown()
47{
48 Result ret=0;
49 u32 *cmdbuf = getThreadCommandBuffer();
50
51 cmdbuf[0] = IPC_MakeHeader(0x2,0,0); // 0x20000
52
53 if(R_FAILED(ret = svcSendSyncRequest(csndHandle)))return ret;
54
55 return (Result)cmdbuf[1];
56}
57
58static Result CSND_ExecuteCommands(u32 offset)
59{

Callers 1

csndExitFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected