mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-25 17:04:04 +00:00
boss: Correct ReceiveProperty()'s response data payload
This was previously overwriting data in the same index.
This commit is contained in:
parent
74465389f3
commit
31100c582a
1 changed files with 2 additions and 2 deletions
|
@ -399,8 +399,8 @@ void ReceiveProperty(Service::Interface* self) {
|
||||||
cmd_buff[0] = IPC::MakeHeader(0x16, 0x2, 0x2);
|
cmd_buff[0] = IPC::MakeHeader(0x16, 0x2, 0x2);
|
||||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||||
cmd_buff[2] = 0; // stub 0 (32 bit value)
|
cmd_buff[2] = 0; // stub 0 (32 bit value)
|
||||||
cmd_buff[2] = (buff_size << 4 | 0xC);
|
cmd_buff[3] = (buff_size << 4 | 0xC);
|
||||||
cmd_buff[3] = buff_addr;
|
cmd_buff[4] = buff_addr;
|
||||||
|
|
||||||
LOG_WARNING(Service_BOSS,
|
LOG_WARNING(Service_BOSS,
|
||||||
"(STUBBED) unk_param1=0x%08X, buff_size=0x%08X, "
|
"(STUBBED) unk_param1=0x%08X, buff_size=0x%08X, "
|
||||||
|
|
Loading…
Reference in a new issue