summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sockets/bsd.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index 95a70dfd3..b9e765f1d 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -419,13 +419,12 @@ void BSD::Read(Kernel::HLERequestContext& ctx) {
419 IPC::RequestParser rp{ctx}; 419 IPC::RequestParser rp{ctx};
420 const s32 fd = rp.Pop<s32>(); 420 const s32 fd = rp.Pop<s32>();
421 421
422 LOG_DEBUG(Service, "called. fd={} len={}", fd, ctx.GetWriteBufferSize()); 422 LOG_WARNING(Service, "(STUBBED) called. fd={} len={}", fd, ctx.GetWriteBufferSize());
423 423
424 ExecuteWork(ctx, RecvWork{ 424 IPC::ResponseBuilder rb{ctx, 4};
425 .fd = fd, 425 rb.Push(ResultSuccess);
426 .flags = 0, 426 rb.Push<u32>(0); // ret
427 .message = std::vector<u8>(ctx.GetWriteBufferSize()), 427 rb.Push<u32>(0); // bsd errno
428 });
429} 428}
430 429
431void BSD::Close(Kernel::HLERequestContext& ctx) { 430void BSD::Close(Kernel::HLERequestContext& ctx) {