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

Function GX_RequestDma

libctru/source/gpu/gx.c:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35Result GX_RequestDma(u32* src, u32* dst, u32 length)
36{
37 u32 gxCommand[0x8];
38 gxCommand[0]=0x01000100 | 0x00; //CommandID
39 gxCommand[1]=(u32)src; //source address
40 gxCommand[2]=(u32)dst; //destination address
41 gxCommand[3]=length; //size
42 gxCommand[4]=gxCommand[5]=gxCommand[6]=gxCommand[7]=0x0;
43
44 return submitGxCommand(gxCommand);
45}
46
47Result GX_ProcessCommandList(u32* buf0a, u32 buf0s, u8 flags)
48{

Callers

nothing calls this directly

Calls 1

submitGxCommandFunction · 0.85

Tested by

no test coverage detected