summaryrefslogtreecommitdiff
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-29 20:24:51 -0400
committerGravatar bunnei2014-05-29 20:24:51 -0400
commit58af0da792adab4bfd77699f9431050290a75b7c (patch)
treec5fd0a1e179989e47110f388a530b3ccd540eec8 /src/core/hle/function_wrappers.h
parentevent: added support for ClearEvent, fixed a bug with CreateEvent, fixed some... (diff)
downloadyuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.gz
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.xz
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.zip
svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and various fixes
- force kernel reschedule after svcWaitSynchronization - fixed some bugs with passing in pointer arguments - cleaned up some comments and log messages
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 7b07d8ca8..43f0d15e0 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -758,3 +758,9 @@ template<int func(void*, void*, u32, u32, s64)> void WrapI_VVUUS64() {
758 int retval = func(Memory::GetPointer(PARAM(5)), Memory::GetPointer(PARAM(1)), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0))); 758 int retval = func(Memory::GetPointer(PARAM(5)), Memory::GetPointer(PARAM(1)), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0)));
759 RETURN(retval); 759 RETURN(retval);
760} 760}
761
762// TODO(bunne): Is this correct? Probably not
763template<int func(u32, u32, u32, u32, s64)> void WrapI_UUUUS64() {
764 int retval = func(PARAM(5), PARAM(1), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0)));
765 RETURN(retval);
766}