mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 21:40:04 +00:00
Merge pull request #3803 from wwylele/nwm-uds-fix
UDS: fix RecvBeaconBroadcastData response header
This commit is contained in:
commit
50def5a73f
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user