diff options
| author | 2014-06-02 17:54:07 -0400 | |
|---|---|---|
| committer | 2014-06-02 17:54:07 -0400 | |
| commit | 477b0caca4f0db084ab2d2dfb866fd81e5839228 (patch) | |
| tree | 2d8ebb55b280edbd18b0227b70437c678f782b10 /src/core/hle/function_wrappers.h | |
| parent | svc: changed DuplicateHandle log message from "error" to "debug" (diff) | |
| download | yuzu-477b0caca4f0db084ab2d2dfb866fd81e5839228.tar.gz yuzu-477b0caca4f0db084ab2d2dfb866fd81e5839228.tar.xz yuzu-477b0caca4f0db084ab2d2dfb866fd81e5839228.zip | |
svc: updated WaitSynchronizationN to properly use first pointer argument
Diffstat (limited to 'src/core/hle/function_wrappers.h')
| -rw-r--r-- | src/core/hle/function_wrappers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index 65e3164c4..2d0dcf476 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h | |||
| @@ -766,7 +766,9 @@ template<int func(u32, s64)> void WrapI_US64() { | |||
| 766 | } | 766 | } |
| 767 | 767 | ||
| 768 | template<int func(void*, void*, u32, u32, s64)> void WrapI_VVUUS64() { | 768 | template<int func(void*, void*, u32, u32, s64)> void WrapI_VVUUS64() { |
| 769 | int retval = func(Memory::GetPointer(PARAM(5)), Memory::GetPointer(PARAM(1)), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0))); | 769 | u32 param_1 = 0; |
| 770 | int retval = func(¶m_1, Memory::GetPointer(PARAM(1)), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0))); | ||
| 771 | Core::g_app_core->SetReg(1, param_1); | ||
| 770 | RETURN(retval); | 772 | RETURN(retval); |
| 771 | } | 773 | } |
| 772 | 774 | ||