citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #3803 from wwylele/nwm-uds-fix

UDS: fix RecvBeaconBroadcastData response header
This commit is contained in:
James Rowe 2018-06-02 09:58:54 -06:00 committed by GitHub
commit 50def5a73f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ void NWM_UDS::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) {
data_reply_header.total_size = cur_buffer_size; data_reply_header.total_size = cur_buffer_size;
out_buffer.Write(&data_reply_header, 0, sizeof(BeaconDataReplyHeader)); out_buffer.Write(&data_reply_header, 0, sizeof(BeaconDataReplyHeader));
IPC::RequestBuilder rb = rp.MakeBuilder(1, 1); IPC::RequestBuilder rb = rp.MakeBuilder(1, 2);
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.PushMappedBuffer(out_buffer); rb.PushMappedBuffer(out_buffer);