early-access version 3296

This commit is contained in:
pineappleEA
2023-01-06 23:12:33 +01:00
parent 1a40de6e54
commit ec5ff6b829
122 changed files with 1674 additions and 810 deletions

View File

@@ -1124,7 +1124,7 @@ void IStorageAccessor::Write(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const u64 offset{rp.Pop<u64>()};
const std::vector<u8> data{ctx.ReadBuffer()};
const auto 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);