summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-15 00:31:53 +0100
committerGitHub <noreply@github.com>2018-02-15 00:31:53 +0100
commitdb873a232ca92191df89e7e5a13f254f3d58b966 (patch)
tree0b0c4a1116f6ef1af1a3144781c149ebd4429577 /src/core/hle/service/acc
parentMerge pull request #192 from jroweboy/fix-fps (diff)
parenthle_ipc: Remove const from WriteBuffer size. (diff)
downloadyuzu-db873a232ca92191df89e7e5a13f254f3d58b966.tar
yuzu-db873a232ca92191df89e7e5a13f254f3d58b966.tar.gz
yuzu-db873a232ca92191df89e7e5a13f254f3d58b966.tar.bz2
yuzu-db873a232ca92191df89e7e5a13f254f3d58b966.tar.lz
yuzu-db873a232ca92191df89e7e5a13f254f3d58b966.tar.xz
yuzu-db873a232ca92191df89e7e5a13f254f3d58b966.tar.zst
yuzu-db873a232ca92191df89e7e5a13f254f3d58b966.zip
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r--src/core/hle/service/acc/acc_u0.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp
index ee7d07aa7..7955f726b 100644
--- a/src/core/hle/service/acc/acc_u0.cpp
+++ b/src/core/hle/service/acc/acc_u0.cpp
@@ -66,8 +66,7 @@ void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) {
void ACC_U0::ListAllUsers(Kernel::HLERequestContext& ctx) {
constexpr std::array<u128, 10> user_ids{DEFAULT_USER_ID};
- const auto& output_buffer = ctx.BufferDescriptorC()[0];
- Memory::WriteBlock(output_buffer.Address(), user_ids.data(), user_ids.size());
+ ctx.WriteBuffer(user_ids.data(), user_ids.size());
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
LOG_DEBUG(Service_ACC, "called");