Minor adjustments

This commit is contained in:
Joel 2017-08-06 15:25:05 -04:00
parent ff1b9ffde5
commit 71ec94d969
2 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ Result GSPGPU_SetLedForceOff(bool state)
u32 *cmdbuf = getThreadCommandBuffer(); u32 *cmdbuf = getThreadCommandBuffer();
cmdbuf[0] = IPC_MakeHeader(0x1C,1,0); // 0x1C0040 cmdbuf[0] = IPC_MakeHeader(0x1C,1,0); // 0x1C0040
cmdbuf[1] = state; cmdbuf[1] = state & 0xFF;
Result ret=0; Result ret=0;
if (R_FAILED(ret = svcSendSyncRequest(gspGpuHandle))) return ret; if (R_FAILED(ret = svcSendSyncRequest(gspGpuHandle))) return ret;

View File

@ -81,7 +81,7 @@ Result GSPLCD_SetLedForceOff(bool state)
u32 *cmdbuf = getThreadCommandBuffer(); u32 *cmdbuf = getThreadCommandBuffer();
cmdbuf[0] = IPC_MakeHeader(0x13,1,0); // 0x130040 cmdbuf[0] = IPC_MakeHeader(0x13,1,0); // 0x130040
cmdbuf[1] = state; cmdbuf[1] = state & 0xFF;
Result ret=0; Result ret=0;
if (R_FAILED(ret = svcSendSyncRequest(gspLcdHandle))) return ret; if (R_FAILED(ret = svcSendSyncRequest(gspLcdHandle))) return ret;