diff options
| author | Mai M <mathew1800@gmail.com> | 2021-11-03 06:59:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-03 06:59:07 -0400 |
| commit | 863e2e2b4f81dc09d878b53572025b4687413830 (patch) | |
| tree | 366d8b1c68b27939d86b95c308989b877618c7aa /src/core/hle/kernel/svc_wrap.h | |
| parent | 7ce29ea74e945062b3c4c434c17980a74464383d (diff) | |
| parent | b871388a31af0194d785d9cf26ce963f169a067c (diff) | |
Merge pull request #7278 from Morph1984/svc-num-handles
svc: Correct WaitSynchronization num_handles param type
Diffstat (limited to 'src/core/hle/kernel/svc_wrap.h')
| -rw-r--r-- | src/core/hle/kernel/svc_wrap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h index 913b16494..6e62e656f 100644 --- a/src/core/hle/kernel/svc_wrap.h +++ b/src/core/hle/kernel/svc_wrap.h @@ -248,10 +248,10 @@ void SvcWrap64(Core::System& system) { } // Used by WaitSynchronization -template <ResultCode func(Core::System&, s32*, u64, u64, s64)> +template <ResultCode func(Core::System&, s32*, u64, s32, s64)> void SvcWrap64(Core::System& system) { s32 param_1 = 0; - const u32 retval = func(system, ¶m_1, Param(system, 1), static_cast<u32>(Param(system, 2)), + const u32 retval = func(system, ¶m_1, Param(system, 1), static_cast<s32>(Param(system, 2)), static_cast<s64>(Param(system, 3))) .raw; |
