]> Chaos Git - corbenik/ctrulib.git/commitdiff
Added BOSS property_xb and property_x3e.
authoryellows8 <yellows8@users.noreply.github.com>
Sun, 25 Dec 2016 05:33:32 +0000 (00:33 -0500)
committeryellows8 <yellows8@users.noreply.github.com>
Sun, 25 Dec 2016 05:33:32 +0000 (00:33 -0500)
libctru/include/3ds/services/boss.h
libctru/source/services/boss.c

index 502d286d1424dee45d5b3a6d606e66f66d2cae1d..525cc094ca6454c7d0f5d02f84ce533dd7a403f4 100644 (file)
@@ -16,6 +16,8 @@ typedef struct
 
        u8 property_xa[0x100];
 
+       u8 property_xb[0x200];
+
        char property_xd[0x360];//Additonal optional HTTP request headers.
 
        u32 property_xe;
@@ -33,6 +35,8 @@ typedef struct
        u32 property_x16;
 
        u32 property_x3b;
+
+       u8 property_x3e[0x200];
 } bossContext;
 
 /**
index 5c09e162f722517937c49793ffd17da57d4262f7..2400e15557b18e2e5b4f85ab6976c470b415b3df 100644 (file)
@@ -312,6 +312,9 @@ Result bossSendContextConfig(bossContext *ctx)
        ret = bossSendProperty(0xa, &ctx->property_xa, 0x100);
        if(R_FAILED(ret))return ret;
 
+       ret = bossSendProperty(0xb, &ctx->property_xb, 0x200);
+       if(R_FAILED(ret))return ret;
+
        ret = bossSendProperty(0xd, ctx->property_xd, 0x360);
        if(R_FAILED(ret))return ret;
 
@@ -344,6 +347,9 @@ Result bossSendContextConfig(bossContext *ctx)
        ret = bossSendProperty(0x3b, &ctx->property_x3b, 0x4);
        if(R_FAILED(ret))return ret;
 
+       ret = bossSendProperty(0x3e, &ctx->property_x3e, 0x200);
+       if(R_FAILED(ret))return ret;
+
        return ret;
 }