From 9a607a369ec434887fe2236dbeddcfdb1395ca68 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 1 Jul 2019 22:04:48 -0400 Subject: [PATCH] Properly convert the input id in irsGetIrCameraHandle(). --- nx/source/services/irs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/irs.c b/nx/source/services/irs.c index 405f5176..d673acd0 100644 --- a/nx/source/services/irs.c +++ b/nx/source/services/irs.c @@ -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);