From 300a0ed1256335ecb76f4930b81a6d06189c11d3 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 24 Nov 2014 23:22:24 -0500 Subject: [PATCH] Fixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHandle(). --- libctru/source/services/mic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libctru/source/services/mic.c b/libctru/source/services/mic.c index 395792b..817b9aa 100644 --- a/libctru/source/services/mic.c +++ b/libctru/source/services/mic.c @@ -207,7 +207,7 @@ Result MIC_GetEventHandle(Handle *handle) if((ret = svcSendSyncRequest(MIC_handle))!=0)return ret; - if(handle)*handle = cmdbuf[2]; + if(handle)*handle = cmdbuf[3]; return (Result)cmdbuf[1]; }