|
@@ -41,8 +41,8 @@ ResultCode SoftwareKeyboard::ReceiveParameter(Service::APT::MessageParameter con
|
|
|
heap_memory = std::make_shared<std::vector<u8>>(capture_info.size);
|
|
heap_memory = std::make_shared<std::vector<u8>>(capture_info.size);
|
|
|
// Create a SharedMemory that directly points to this heap block.
|
|
// Create a SharedMemory that directly points to this heap block.
|
|
|
framebuffer_memory = Kernel::SharedMemory::CreateForApplet(
|
|
framebuffer_memory = Kernel::SharedMemory::CreateForApplet(
|
|
|
- heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite,
|
|
|
|
|
- MemoryPermission::ReadWrite, "SoftwareKeyboard Memory");
|
|
|
|
|
|
|
+ heap_memory, 0, capture_info.size, MemoryPermission::ReadWrite, MemoryPermission::ReadWrite,
|
|
|
|
|
+ "SoftwareKeyboard Memory");
|
|
|
|
|
|
|
|
// Send the response message with the newly created SharedMemory
|
|
// Send the response message with the newly created SharedMemory
|
|
|
Service::APT::MessageParameter result;
|
|
Service::APT::MessageParameter result;
|