diff options
| -rw-r--r-- | src/core/hle/applets/erreula.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/applets/mii_selector.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/applets/mint.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/applets/swkbd.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/applets/erreula.cpp b/src/core/hle/applets/erreula.cpp index 75d7fd9fc..518f371f5 100644 --- a/src/core/hle/applets/erreula.cpp +++ b/src/core/hle/applets/erreula.cpp | |||
| @@ -31,8 +31,8 @@ ResultCode ErrEula::ReceiveParameter(const Service::APT::MessageParameter& param | |||
| 31 | heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); | 31 | heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); |
| 32 | // Create a SharedMemory that directly points to this heap block. | 32 | // Create a SharedMemory that directly points to this heap block. |
| 33 | framebuffer_memory = Kernel::SharedMemory::CreateForApplet( | 33 | framebuffer_memory = Kernel::SharedMemory::CreateForApplet( |
| 34 | heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite, | 34 | heap_memory, 0, capture_info.size, MemoryPermission::ReadWrite, MemoryPermission::ReadWrite, |
| 35 | MemoryPermission::ReadWrite, "ErrEula Memory"); | 35 | "ErrEula Memory"); |
| 36 | 36 | ||
| 37 | // Send the response message with the newly created SharedMemory | 37 | // Send the response message with the newly created SharedMemory |
| 38 | Service::APT::MessageParameter result; | 38 | Service::APT::MessageParameter result; |
diff --git a/src/core/hle/applets/mii_selector.cpp b/src/core/hle/applets/mii_selector.cpp index 89f08daa2..705859f1e 100644 --- a/src/core/hle/applets/mii_selector.cpp +++ b/src/core/hle/applets/mii_selector.cpp | |||
| @@ -38,8 +38,8 @@ ResultCode MiiSelector::ReceiveParameter(const Service::APT::MessageParameter& p | |||
| 38 | heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); | 38 | heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); |
| 39 | // Create a SharedMemory that directly points to this heap block. | 39 | // Create a SharedMemory that directly points to this heap block. |
| 40 | framebuffer_memory = Kernel::SharedMemory::CreateForApplet( | 40 | framebuffer_memory = Kernel::SharedMemory::CreateForApplet( |
| 41 | heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite, | 41 | heap_memory, 0, capture_info.size, MemoryPermission::ReadWrite, MemoryPermission::ReadWrite, |
| 42 | MemoryPermission::ReadWrite, "MiiSelector Memory"); | 42 | "MiiSelector Memory"); |
| 43 | 43 | ||
| 44 | // Send the response message with the newly created SharedMemory | 44 | // Send the response message with the newly created SharedMemory |
| 45 | Service::APT::MessageParameter result; | 45 | Service::APT::MessageParameter result; |
diff --git a/src/core/hle/applets/mint.cpp b/src/core/hle/applets/mint.cpp index 31a79ea17..50d79190b 100644 --- a/src/core/hle/applets/mint.cpp +++ b/src/core/hle/applets/mint.cpp | |||
| @@ -31,8 +31,8 @@ ResultCode Mint::ReceiveParameter(const Service::APT::MessageParameter& paramete | |||
| 31 | heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); | 31 | heap_memory = std::make_shared<std::vector<u8>>(capture_info.size); |
| 32 | // Create a SharedMemory that directly points to this heap block. | 32 | // Create a SharedMemory that directly points to this heap block. |
| 33 | framebuffer_memory = Kernel::SharedMemory::CreateForApplet( | 33 | framebuffer_memory = Kernel::SharedMemory::CreateForApplet( |
| 34 | heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite, | 34 | heap_memory, 0, capture_info.size, MemoryPermission::ReadWrite, MemoryPermission::ReadWrite, |
| 35 | MemoryPermission::ReadWrite, "Mint Memory"); | 35 | "Mint Memory"); |
| 36 | 36 | ||
| 37 | // Send the response message with the newly created SharedMemory | 37 | // Send the response message with the newly created SharedMemory |
| 38 | Service::APT::MessageParameter result; | 38 | Service::APT::MessageParameter result; |
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; |