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

Function GX_ProcessCommandList

libctru/source/gpu/gx.c:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47Result GX_ProcessCommandList(u32* buf0a, u32 buf0s, u8 flags)
48{
49 u32 gxCommand[0x8];
50 gxCommand[0]=0x01000100 | 0x01; //CommandID
51 gxCommand[1]=(u32)buf0a; //buf0 address
52 gxCommand[2]=(u32)buf0s; //buf0 size
53 gxCommand[3]=flags&1; //written to GSP module state
54 gxCommand[4]=gxCommand[5]=gxCommand[6]=0x0;
55 gxCommand[7]=(flags>>1)&1; //when non-zero, call svcFlushProcessDataCache() with the specified buffer
56
57 return submitGxCommand(gxCommand);
58}
59
60Result GX_MemoryFill(u32* buf0a, u32 buf0v, u32* buf0e, u16 control0, u32* buf1a, u32 buf1v, u32* buf1e, u16 control1)
61{

Callers

nothing calls this directly

Calls 1

submitGxCommandFunction · 0.85

Tested by

no test coverage detected