summaryrefslogtreecommitdiff
path: root/src/core/hle/applets/erreula.cpp
diff options
context:
space:
mode:
authorGravatar Subv2017-08-19 11:37:21 -0500
committerGravatar Subv2017-08-21 08:34:27 -0500
commit145a7293a32c6fb25f1db796f7e1dd6c4efc985e (patch)
treed6a1c4112e303ff8ccd83fcc5268f5114b5427d4 /src/core/hle/applets/erreula.cpp
parentCPU/Dynarmic: Fixed a warning when incrementing the number of ticks in Execut... (diff)
downloadyuzu-145a7293a32c6fb25f1db796f7e1dd6c4efc985e.tar.gz
yuzu-145a7293a32c6fb25f1db796f7e1dd6c4efc985e.tar.xz
yuzu-145a7293a32c6fb25f1db796f7e1dd6c4efc985e.zip
HLE/Applets: Fixed some conversion warnings when creating the framebuffer shared memory objects.
Diffstat (limited to 'src/core/hle/applets/erreula.cpp')
-rw-r--r--src/core/hle/applets/erreula.cpp4
1 files changed, 2 insertions, 2 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;