diff options
author | Subv <subv2112@gmail.com> | 2016-04-18 04:07:52 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-13 03:00:32 +0200 |
commit | 1bd0cf542ff8db1cda572c4d92462643296af121 (patch) | |
tree | 8004faa76770c076e2d84d51a64c6419f796a477 /src/core/hle/service/ir | |
parent | Kernel/SVC: Fixed the register order for svcCreateMemoryBlock. (diff) | |
download | yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.tar yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.tar.gz yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.tar.bz2 yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.tar.lz yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.tar.xz yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.tar.zst yuzu-1bd0cf542ff8db1cda572c4d92462643296af121.zip |
Diffstat (limited to 'src/core/hle/service/ir')
-rw-r--r-- | src/core/hle/service/ir/ir.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/ir/ir.cpp b/src/core/hle/service/ir/ir.cpp index 505c441c6..079a87e48 100644 --- a/src/core/hle/service/ir/ir.cpp +++ b/src/core/hle/service/ir/ir.cpp @@ -94,8 +94,9 @@ void Init() { AddService(new IR_User_Interface); using Kernel::MemoryPermission; - shared_memory = SharedMemory::Create(0x1000, Kernel::MemoryPermission::ReadWrite, - Kernel::MemoryPermission::ReadWrite, "IR:SharedMemory"); + shared_memory = SharedMemory::Create(nullptr, 0x1000, + Kernel::MemoryPermission::ReadWrite, Kernel::MemoryPermission::ReadWrite, + 0, Kernel::MemoryRegion::BASE, "IR:SharedMemory"); transfer_shared_memory = nullptr; // Create event handle(s) |