Skip to content
Snippets Groups Projects
Unverified Commit 1006df7f authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1900 from lioncash/wrapper

svc_wrap: Correct register index for a wrapper specialization
parents 700075be 22230a2e
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ void SvcWrap() { ...@@ -129,7 +129,7 @@ void SvcWrap() {
template <ResultCode func(u64, u64, u32, u32)> template <ResultCode func(u64, u64, u32, u32)>
void SvcWrap() { void SvcWrap() {
FuncReturn( 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)> template <ResultCode func(u32, u64, u32)>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment