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

Function GSPGPU_RestoreVramSysArea

libctru/source/services/gspgpu.c:673–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673Result GSPGPU_RestoreVramSysArea(void)
674{
675 u32* cmdbuf=getThreadCommandBuffer();
676 cmdbuf[0]=IPC_MakeHeader(0x1A,0,0); // 0x1A0000
677
678 Result ret=0;
679 if(R_FAILED(ret=svcSendSyncRequest(gspGpuHandle)))return ret;
680
681 return cmdbuf[1];
682}
683
684Result GSPGPU_ResetGpuCore(void)
685{

Callers 1

aptWaitForWakeUpFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected