Merge pull request #1900 from lioncash/wrapper

svc_wrap: Correct register index for a wrapper specialization
This commit is contained in:
bunnei 2018-12-14 13:12:55 -05:00 committed by GitHub
commit 1006df7fc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)>