summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ir
diff options
context:
space:
mode:
authorarchshift <gh@archshift.com>2015-05-11 03:07:44 +0200
committerarchshift <gh@archshift.com>2015-05-11 03:07:44 +0200
commite98fbadf4a49eecc6d39c082cba683d5d88ea2c5 (patch)
tree7901b6ad673f8950d4f36d731eaa45b195cac763 /src/core/hle/service/ir
parentMerge pull request #741 from Subv/tls (diff)
parentfixup! GSP: Small tweaks to shared memory initialization (diff)
downloadyuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.tar
yuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.tar.gz
yuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.tar.bz2
yuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.tar.lz
yuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.tar.xz
yuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.tar.zst
yuzu-e98fbadf4a49eecc6d39c082cba683d5d88ea2c5.zip
Diffstat (limited to 'src/core/hle/service/ir')
-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");