Merge pull request #191 from Steveice10/great-refactor
Fix DSP_SendData writing the value to the wrong index.
This commit is contained in:
commit
791da049d5
@ -216,7 +216,7 @@ Result DSP_SendData(u16 regNo, u16 value)
|
||||
u32* cmdbuf = getThreadCommandBuffer();
|
||||
cmdbuf[0] = IPC_MakeHeader(0x3,2,0);
|
||||
cmdbuf[1] = regNo;
|
||||
cmdbuf[1] = value;
|
||||
cmdbuf[2] = value;
|
||||
if ((ret = svcSendSyncRequest(dspHandle)) != 0) return ret;
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user