summaryrefslogtreecommitdiff
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorGravatar Subv2017-10-04 11:52:39 -0500
committerGravatar Subv2017-10-04 12:30:33 -0500
commit3c0113632dc4fb4e55b5dad9278a5b766dcaec14 (patch)
tree5f78f0f8a334a1dbe8e407ed5ef8809241a6b639 /src/core/hle/function_wrappers.h
parentSVC: Replace GetPointer usage with Read32 in ReplyAndReceive. (diff)
downloadyuzu-3c0113632dc4fb4e55b5dad9278a5b766dcaec14.tar.gz
yuzu-3c0113632dc4fb4e55b5dad9278a5b766dcaec14.tar.xz
yuzu-3c0113632dc4fb4e55b5dad9278a5b766dcaec14.zip
SVC: Replace GetPointer usage with ReadBlock in OutputDebugString.
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 cd500e83d..cb0b430ee 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -267,9 +267,9 @@ void Wrap() {
267 func(((s64)PARAM(1) << 32) | PARAM(0)); 267 func(((s64)PARAM(1) << 32) | PARAM(0));
268} 268}
269 269
270template <void func(const char*, int len)> 270template <void func(VAddr, int len)>
271void Wrap() { 271void Wrap() {
272 func((char*)Memory::GetPointer(PARAM(0)), PARAM(1)); 272 func(PARAM(0), PARAM(1));
273} 273}
274 274
275template <void func(u8)> 275template <void func(u8)>