mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 19:02:14 +02:00
Fix IDsEndpoint->SetZlt() cmd_id
This commit is contained in:
parent
d146430265
commit
3b37dc24bf
@ -1055,7 +1055,7 @@ Result usbDsEndpoint_SetZlt(UsbDsEndpoint* endpoint, bool zlt)
|
|||||||
raw = ipcPrepareHeader(&c, sizeof(*raw));
|
raw = ipcPrepareHeader(&c, sizeof(*raw));
|
||||||
|
|
||||||
raw->magic = SFCI_MAGIC;
|
raw->magic = SFCI_MAGIC;
|
||||||
raw->cmd_id = 12;
|
raw->cmd_id = 5;
|
||||||
raw->zlt = zlt ? 1 : 0;
|
raw->zlt = zlt ? 1 : 0;
|
||||||
|
|
||||||
Result rc = serviceIpcDispatch(&endpoint->h);
|
Result rc = serviceIpcDispatch(&endpoint->h);
|
||||||
|
Loading…
Reference in New Issue
Block a user