summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-14 19:12:55 +0100
committerGitHub <noreply@github.com>2018-12-14 19:12:55 +0100
commit1006df7fc171f4fbe0d0307378ecbaaece3c28c5 (patch)
treeae19046f9059020d52fa1e5df905a7003bd7a917 /src/core/hle
parentMerge pull request #1890 from jschmer/master (diff)
parentsvc_wrap: Correct register index for a wrapper specialization (diff)
downloadyuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.tar
yuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.tar.gz
yuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.tar.bz2
yuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.tar.lz
yuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.tar.xz
yuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.tar.zst
yuzu-1006df7fc171f4fbe0d0307378ecbaaece3c28c5.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/svc_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h
index 24aef46c9..f38e0cb6f 100644
--- a/src/core/hle/kernel/svc_wrap.h
+++ b/src/core/hle/kernel/svc_wrap.h
@@ -129,7 +129,7 @@ void SvcWrap() {
template <ResultCode func(u64, u64, u32, u32)>
void SvcWrap() {
FuncReturn(
- func(Param(0), Param(1), static_cast<u32>(Param(3)), static_cast<u32>(Param(3))).raw);
+ func(Param(0), Param(1), static_cast<u32>(Param(2)), static_cast<u32>(Param(3))).raw);
}
template <ResultCode func(u32, u64, u32)>