summaryrefslogtreecommitdiffstats
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorMichael Theall <pigman46@gmail.com>2017-04-01 11:09:39 +0200
committerMichael Theall <pigman46@gmail.com>2017-04-01 11:09:39 +0200
commit31f9c1ab5d758eeca2841892f19e7b0800bce352 (patch)
tree4f76aa3c7fb04dff1a0aa983b6595068140afd19 /src/core/hle/function_wrappers.h
parentMerge pull request #2639 from wwylele/fix-ptm-fs (diff)
downloadyuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar
yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.gz
yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.bz2
yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.lz
yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.xz
yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.zst
yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.zip
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 7875971ce..f6eb900f0 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -256,9 +256,9 @@ void Wrap() {
func(((s64)PARAM(1) << 32) | PARAM(0));
}
-template <void func(const char*)>
+template <void func(const char*, int len)>
void Wrap() {
- func((char*)Memory::GetPointer(PARAM(0)));
+ func((char*)Memory::GetPointer(PARAM(0)), PARAM(1));
}
template <void func(u8)>