early-access version 1567

This commit is contained in:
pineappleEA
2021-04-08 19:15:06 +02:00
parent 99b513411c
commit 38a5fea764
3 changed files with 135 additions and 2 deletions

View File

@@ -387,7 +387,8 @@ void SoftwareKeyboard::SubmitForTextCheck(std::u16string submitted_text) {
Common::UTF16ToUTF8(current_text));
std::memcpy(out_data.data(), &buffer_size, sizeof(u64));
std::memcpy(out_data.data() + sizeof(u64), current_text.data(), buffer_size);
std::memcpy(out_data.data() + sizeof(u64), current_text.data(),
current_text.size() * sizeof(char16_t));
}
broker.PushInteractiveDataFromApplet(std::make_shared<IStorage>(system, std::move(out_data)));