summaryrefslogtreecommitdiffstats
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorarchshift <gh@archshift.com>2015-05-17 07:06:59 +0200
committerarchshift <gh@archshift.com>2015-05-17 07:06:59 +0200
commit11057488f94ec8ec012ddd524d7c1acb530c9788 (patch)
tree95feeb0dfe11181a9883bed9d2cf4424252ce257 /src/core/hle/function_wrappers.h
parentMerge pull request #781 from archshift/delete (diff)
downloadyuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.tar
yuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.tar.gz
yuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.tar.bz2
yuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.tar.lz
yuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.tar.xz
yuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.tar.zst
yuzu-11057488f94ec8ec012ddd524d7c1acb530c9788.zip
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 0e5ae29ae..23c86a72d 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -166,6 +166,10 @@ template<void func(const char*)> void Wrap() {
func((char*)Memory::GetPointer(PARAM(0)));
}
+template<void func(u8)> void Wrap() {
+ func((u8)PARAM(0));
+}
+
#undef PARAM
#undef FuncReturn