summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-01 21:17:11 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:53 +0200
commitcaa11748c6929dad3d386f3f8ef8b36158871cad (patch)
treed2d91e1abc2d0dd2a8b86bb6c0852a2a41c5aa16
parenthle: kernel: svc: ConnectToNamedPort: Use KHandleTable::Reserve. (diff)
downloadyuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.tar
yuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.tar.gz
yuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.tar.bz2
yuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.tar.lz
yuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.tar.xz
yuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.tar.zst
yuzu-caa11748c6929dad3d386f3f8ef8b36158871cad.zip
-rw-r--r--src/core/hle/kernel/svc_wrap.h6
1 files changed, 3 insertions, 3 deletions
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 <ResultCode func(Core::System&, Handle, u32, u32, Svc::MemoryPermission)>
void SvcWrap32(Core::System& system) {
- const u32 retval =
- func(system, static_cast<Handle>(Param(system, 0)), static_cast<u32>(Param(system, 1)), static_cast<u32>(Param(system, 2)),
+ const u32 retval = func(system, static_cast<Handle>(Param(system, 0)),
+ static_cast<u32>(Param(system, 1)), static_cast<u32>(Param(system, 2)),
static_cast<Svc::MemoryPermission>(Param(system, 3)))
- .raw;
+ .raw;
FuncReturn(system, retval);
}