Flags, for applications this is 0x1001000 for the main screen, and 0x1000 for the sub screen.
| 74 | |
| 75 | // Flags, for applications this is 0x1001000 for the main screen, and 0x1000 for the sub screen. |
| 76 | Result GX_DisplayTransfer(u32* inadr, u32 indim, u32* outadr, u32 outdim, u32 flags) |
| 77 | { |
| 78 | u32 gxCommand[0x8]; |
| 79 | gxCommand[0]=0x01000100 | 0x03; //CommandID |
| 80 | gxCommand[1]=(u32)inadr; |
| 81 | gxCommand[2]=(u32)outadr; |
| 82 | gxCommand[3]=indim; |
| 83 | gxCommand[4]=outdim; |
| 84 | gxCommand[5]=flags; |
| 85 | gxCommand[6]=gxCommand[7]=0x0; |
| 86 | |
| 87 | return submitGxCommand(gxCommand); |
| 88 | } |
| 89 | |
| 90 | Result GX_TextureCopy(u32* inadr, u32 indim, u32* outadr, u32 outdim, u32 size, u32 flags) |
| 91 | { |
nothing calls this directly
no test coverage detected