summaryrefslogtreecommitdiff
path: root/src/core/hle/applets/swkbd.cpp
diff options
context:
space:
mode:
authorGravatar James Rowe2017-08-22 08:09:09 -0600
committerGravatar GitHub2017-08-22 08:09:09 -0600
commita8675f42875d7ad41ef64b89ec478834042355dd (patch)
tree8e2c67c072ad8d874d1b5685a8d084719acb90af /src/core/hle/applets/swkbd.cpp
parentMerge pull request #2894 from wwylele/motion-emu-fix (diff)
parentGPU/Warnings: Explicitly cast the screen refresh ticks to u64. (diff)
downloadyuzu-a8675f42875d7ad41ef64b89ec478834042355dd.tar.gz
yuzu-a8675f42875d7ad41ef64b89ec478834042355dd.tar.xz
yuzu-a8675f42875d7ad41ef64b89ec478834042355dd.zip
Merge pull request #2888 from Subv/warnings
Fixed some warnings in the core project.
Diffstat (limited to 'src/core/hle/applets/swkbd.cpp')
-rw-r--r--src/core/hle/applets/swkbd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/applets/swkbd.cpp b/src/core/hle/applets/swkbd.cpp
index fdf8807b0..0bc471a3a 100644
--- a/src/core/hle/applets/swkbd.cpp
+++ b/src/core/hle/applets/swkbd.cpp
@@ -41,8 +41,8 @@ ResultCode SoftwareKeyboard::ReceiveParameter(Service::APT::MessageParameter con
41 heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); 41 heap_memory = std::make_shared<std::vector<u8>>(capture_info.size);
42 // Create a SharedMemory that directly points to this heap block. 42 // Create a SharedMemory that directly points to this heap block.
43 framebuffer_memory = Kernel::SharedMemory::CreateForApplet( 43 framebuffer_memory = Kernel::SharedMemory::CreateForApplet(
44 heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite, 44 heap_memory, 0, capture_info.size, MemoryPermission::ReadWrite, MemoryPermission::ReadWrite,
45 MemoryPermission::ReadWrite, "SoftwareKeyboard Memory"); 45 "SoftwareKeyboard Memory");
46 46
47 // Send the response message with the newly created SharedMemory 47 // Send the response message with the newly created SharedMemory
48 Service::APT::MessageParameter result; 48 Service::APT::MessageParameter result;