| 45 | } |
| 46 | |
| 47 | Result 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 | |
| 60 | Result GX_MemoryFill(u32* buf0a, u32 buf0v, u32* buf0e, u16 control0, u32* buf1a, u32 buf1v, u32* buf1e, u16 control1) |
| 61 | { |
nothing calls this directly
no test coverage detected