From caa11748c6929dad3d386f3f8ef8b36158871cad Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 1 May 2021 12:17:11 -0700 Subject: fixup! hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. --- src/core/hle/kernel/svc_wrap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/hle') diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h index 0968987af..913b16494 100644 --- a/src/core/hle/kernel/svc_wrap.h +++ b/src/core/hle/kernel/svc_wrap.h @@ -557,10 +557,10 @@ void SvcWrap32(Core::System& system) { // Used by MapSharedMemory32 template void SvcWrap32(Core::System& system) { - const u32 retval = - func(system, static_cast(Param(system, 0)), static_cast(Param(system, 1)), static_cast(Param(system, 2)), + const u32 retval = func(system, static_cast(Param(system, 0)), + static_cast(Param(system, 1)), static_cast(Param(system, 2)), static_cast(Param(system, 3))) - .raw; + .raw; FuncReturn(system, retval); } -- cgit v1.2.3