]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fixed command code for Y2RU_SetConversionParams
authorLectem <lectem@gmail.com>
Sat, 11 Jul 2015 13:51:06 +0000 (15:51 +0200)
committerLectem <lectem@gmail.com>
Sat, 11 Jul 2015 13:51:06 +0000 (15:51 +0200)
libctru/source/services/y2r.c

index bb26f561583e19d75926942965bbc35f27be4f96..11d0109f8d3c9c44b9fe03a5e2e04a684524e4de 100644 (file)
@@ -356,7 +356,7 @@ Result Y2RU_SetConversionParams(const Y2R_ConversionParams* params)
 {
        Result ret = 0;
        u32* cmdbuf = getThreadCommandBuffer();
-       cmdbuf[0] = 0x002900C0;
+       cmdbuf[0] = 0x002901C0;
        memcpy(&cmdbuf[1], params, sizeof(Y2R_ConversionParams));
 
        if ((ret = svcSendSyncRequest(y2rHandle)) != 0) return ret;