early-access version 2085

This commit is contained in:
pineappleEA 2021-09-25 15:17:10 +02:00
parent d789b2d2e6
commit 3292ff67a9
2 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 2084. This is the source code for early-access 2085.
## Legal Notice ## Legal Notice

View file

@ -419,13 +419,12 @@ void BSD::Read(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx}; IPC::RequestParser rp{ctx};
const s32 fd = rp.Pop<s32>(); const s32 fd = rp.Pop<s32>();
LOG_DEBUG(Service, "called. fd={} len={}", fd, ctx.GetWriteBufferSize()); LOG_WARNING(Service, "(STUBBED) called. fd={} len={}", fd, ctx.GetWriteBufferSize());
ExecuteWork(ctx, RecvWork{ IPC::ResponseBuilder rb{ctx, 4};
.fd = fd, rb.Push(ResultSuccess);
.flags = 0, rb.Push<u32>(0); // ret
.message = std::vector<u8>(ctx.GetWriteBufferSize()), rb.Push<u32>(0); // bsd errno
});
} }
void BSD::Close(Kernel::HLERequestContext& ctx) { void BSD::Close(Kernel::HLERequestContext& ctx) {