summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-14 05:16:19 +0100
committerbunnei <bunneidev@gmail.com>2018-02-14 05:54:13 +0100
commit516a95721c5ec7ae2f09cb1e7c9757903523d09e (patch)
treeda87ccf3fbe378c9231ff935fd65018303c25040 /src/core/hle/service/acc
parentaudio: Use WriteBuffer instead of BufferDescriptorB. (diff)
downloadyuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.tar
yuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.tar.gz
yuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.tar.bz2
yuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.tar.lz
yuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.tar.xz
yuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.tar.zst
yuzu-516a95721c5ec7ae2f09cb1e7c9757903523d09e.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");