mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-05 16:09:24 +02:00
Properly convert the input id in irsGetIrCameraHandle().
This commit is contained in:
parent
ee7b30a7b4
commit
9a607a369e
@ -443,7 +443,7 @@ Result irsGetIrCameraHandle(u32 *IrCameraHandle, HidControllerID id) {
|
||||
|
||||
raw->magic = SFCI_MAGIC;
|
||||
raw->cmd_id = 311;
|
||||
raw->id = id;
|
||||
raw->id = hidControllerIDToOfficial(id);
|
||||
|
||||
Result rc = serviceIpcDispatch(&g_irsSrv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user