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

Function GSPGPU_SaveVramSysArea

libctru/source/services/gspgpu.c:662–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662Result GSPGPU_SaveVramSysArea(void)
663{
664 u32* cmdbuf=getThreadCommandBuffer();
665 cmdbuf[0]=IPC_MakeHeader(0x19,0,0); // 0x190000
666
667 Result ret=0;
668 if(R_FAILED(ret=svcSendSyncRequest(gspGpuHandle)))return ret;
669
670 return cmdbuf[1];
671}
672
673Result GSPGPU_RestoreVramSysArea(void)
674{

Callers 3

aptJumpToHomeMenuFunction · 0.85
aptLaunchLibraryAppletFunction · 0.85
aptLaunchSystemAppletFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected