]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fixed word-index that the handle is loaded from in the cmdreply, for MIC_GetEventHand...
authoryellows8 <yellows8@users.noreply.github.com>
Tue, 25 Nov 2014 04:22:24 +0000 (23:22 -0500)
committeryellows8 <yellows8@users.noreply.github.com>
Tue, 25 Nov 2014 04:22:24 +0000 (23:22 -0500)
libctru/source/services/mic.c

index 395792b3be006b1317227134945e7dca25dab135..817b9aafc8de3682beab60f89bc5a77b3e6d2a60 100644 (file)
@@ -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];
 }