From 31100c582ad571f53aac418852841ffafbb28488 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 28 Mar 2018 20:25:45 -0400 Subject: [PATCH] boss: Correct ReceiveProperty()'s response data payload This was previously overwriting data in the same index. --- src/core/hle/service/boss/boss.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/boss/boss.cpp b/src/core/hle/service/boss/boss.cpp index e0d14c6a6a..435376ee1f 100644 --- a/src/core/hle/service/boss/boss.cpp +++ b/src/core/hle/service/boss/boss.cpp @@ -399,8 +399,8 @@ void ReceiveProperty(Service::Interface* self) { cmd_buff[0] = IPC::MakeHeader(0x16, 0x2, 0x2); cmd_buff[1] = RESULT_SUCCESS.raw; cmd_buff[2] = 0; // stub 0 (32 bit value) - cmd_buff[2] = (buff_size << 4 | 0xC); - cmd_buff[3] = buff_addr; + cmd_buff[3] = (buff_size << 4 | 0xC); + cmd_buff[4] = buff_addr; LOG_WARNING(Service_BOSS, "(STUBBED) unk_param1=0x%08X, buff_size=0x%08X, "