From db7e90c23e7b245415038520bfed912b93f01fb9 Mon Sep 17 00:00:00 2001 From: The Dax Date: Mon, 1 Jul 2013 04:29:48 -0400 Subject: [PATCH] Fix parameter values in func wrapper. --- Core/HLE/FunctionWrappers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/FunctionWrappers.h b/Core/HLE/FunctionWrappers.h index ce53650db8..b520268108 100644 --- a/Core/HLE/FunctionWrappers.h +++ b/Core/HLE/FunctionWrappers.h @@ -77,8 +77,8 @@ template void WrapU_UU64UU() { } template void WrapI_IICU64() { - u64 param_three = currentMIPS->r[7]; - param_three |= (u64)(currentMIPS->r[8]) << 32; + u64 param_three = currentMIPS->r[8]; + param_three |= (u64)(currentMIPS->r[9]) << 32; int retval = func(PARAM(0), PARAM(1), Memory::GetCharPointer(PARAM(2)), param_three); RETURN(retval); }