| 629 | } |
| 630 | |
| 631 | Result GSPGPU_ReleaseRight(void) |
| 632 | { |
| 633 | if(!gspGpuRight) return 0; |
| 634 | |
| 635 | u32* cmdbuf=getThreadCommandBuffer(); |
| 636 | cmdbuf[0]=IPC_MakeHeader(0x17,0,0); // 0x170000 |
| 637 | |
| 638 | Result ret=0; |
| 639 | if(R_FAILED(ret=svcSendSyncRequest(gspGpuHandle)))return ret; |
| 640 | |
| 641 | ret = (Result)cmdbuf[1]; |
| 642 | if(R_SUCCEEDED(ret)) gspGpuRight=false; |
| 643 | |
| 644 | return ret; |
| 645 | } |
| 646 | |
| 647 | Result GSPGPU_ImportDisplayCaptureInfo(GSPGPU_CaptureInfo* captureinfo) |
| 648 | { |
no test coverage detected