early-access version 3311

This commit is contained in:
pineappleEA
2023-01-17 04:25:08 +01:00
parent 26748edc37
commit 3405adfe45
99 changed files with 687 additions and 1356 deletions

View File

@@ -1124,7 +1124,7 @@ void IStorageAccessor::Write(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const u64 offset{rp.Pop<u64>()};
const auto data{ctx.ReadBuffer()};
const std::vector<u8> data{ctx.ReadBuffer()};
const std::size_t size{std::min<u64>(data.size(), backing.GetSize() - offset)};
LOG_DEBUG(Service_AM, "called, offset={}, size={}", offset, size);