summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ir/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/ir/ir.cpp')
-rw-r--r--src/core/hle/service/ir/ir.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/ir/ir.cpp b/src/core/hle/service/ir/ir.cpp
index 15ac477ef..adfbb258d 100644
--- a/src/core/hle/service/ir/ir.cpp
+++ b/src/core/hle/service/ir/ir.cpp
@@ -34,7 +34,9 @@ void Init() {
AddService(new IR_U_Interface);
AddService(new IR_User_Interface);
- shared_memory = SharedMemory::Create("IR:SharedMemory");
+ using Kernel::MemoryPermission;
+ shared_memory = SharedMemory::Create(0x1000, Kernel::MemoryPermission::ReadWrite,
+ Kernel::MemoryPermission::ReadWrite, "IR:SharedMemory");
// Create event handle(s)
handle_event = Event::Create(RESETTYPE_ONESHOT, "IR:HandleEvent");