mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 05:45:46 +00:00
software_keyboard: Make GetText asynchronous
a
This commit is contained in:
parent
7cfb29de23
commit
8b433beff3
9 changed files with 64 additions and 29 deletions
|
@ -718,7 +718,7 @@ void IStorageAccessor::Write(Kernel::HLERequestContext& ctx) {
|
|||
const u64 offset{rp.Pop<u64>()};
|
||||
const std::vector<u8> data{ctx.ReadBuffer()};
|
||||
|
||||
const auto size = std::min(data.size(), backing.buffer.size() - offset);
|
||||
const auto size = std::min<std::size_t>(data.size(), backing.buffer.size() - offset);
|
||||
|
||||
std::memcpy(&backing.buffer[offset], data.data(), size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue