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

Function GSPGPU_SetLcdForceBlack

libctru/source/services/gspgpu.c:533–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533Result GSPGPU_SetLcdForceBlack(u8 flags)
534{
535 u32* cmdbuf=getThreadCommandBuffer();
536 cmdbuf[0]=IPC_MakeHeader(0xB,1,0); // 0xB0040
537 cmdbuf[1]=flags;
538
539 Result ret=0;
540 if(R_FAILED(ret=svcSendSyncRequest(gspGpuHandle)))return ret;
541
542 return cmdbuf[1];
543}
544
545Result GSPGPU_TriggerCmdReqQueue(void)
546{

Callers 3

gfxInitFunction · 0.85
gfxExitFunction · 0.85
aptHandleSleepFunction · 0.85

Calls 2

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85

Tested by

no test coverage detected