summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-16 22:19:23 -0400
committerGravatar bunnei2014-04-16 22:19:23 -0400
commitf0797dcf1ff954c357ebf4aa7eb234ebadae333d (patch)
tree76719a57bc061934cc5efda1b7110103a9cdbfd2
parentremoved hard-coded framebuffer addresses from renderer_opengl.cpp (diff)
downloadyuzu-f0797dcf1ff954c357ebf4aa7eb234ebadae333d.tar.gz
yuzu-f0797dcf1ff954c357ebf4aa7eb234ebadae333d.tar.xz
yuzu-f0797dcf1ff954c357ebf4aa7eb234ebadae333d.zip
added a new function wrapper
-rw-r--r--src/core/hle/function_wrappers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 7d9389769..4897d3f28 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -725,6 +725,11 @@ template<int func(int, const char *, u32, void *, int, int, int)> void WrapI_ICU
725 RETURN(retval); 725 RETURN(retval);
726} 726}
727 727
728template<int func(void *, u32, u32, u32, u32, u32)> void WrapI_VUUUUU(){
729 u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1), PARAM(2), PARAM(3), PARAM(4), PARAM(5));
730 RETURN(retval);
731}
732
728template<int func(u32, s64)> void WrapI_US64() { 733template<int func(u32, s64)> void WrapI_US64() {
729 int retval = func(PARAM(0), PARAM64(2)); 734 int retval = func(PARAM(0), PARAM64(2));
730 RETURN(retval); 735 RETURN(retval);