summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-03 17:48:11 +0200
committerGitHub <noreply@github.com>2019-04-03 17:48:11 +0200
commit580e3564c9f2cac47b39fc5c3214271cff0648fb (patch)
tree88175f150482c61d8d53ef7813956455ce4aac5a /src/core/hle/kernel/svc.cpp
parentMerge pull request #2314 from lioncash/const (diff)
parentkernel/shared_memory: Remove unused core/memory.h include (diff)
downloadyuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.tar
yuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.tar.gz
yuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.tar.bz2
yuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.tar.lz
yuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.tar.xz
yuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.tar.zst
yuzu-580e3564c9f2cac47b39fc5c3214271cff0648fb.zip
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 23c768f57..ab10db3df 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -1140,7 +1140,7 @@ static ResultCode UnmapSharedMemory(Handle shared_memory_handle, VAddr addr, u64
return ERR_INVALID_MEMORY_RANGE;
}
- return shared_memory->Unmap(*current_process, addr);
+ return shared_memory->Unmap(*current_process, addr, size);
}
static ResultCode QueryProcessMemory(VAddr memory_info_address, VAddr page_info_address,