diff options
| author | bunnei <bunneidev@gmail.com> | 2018-02-13 22:48:31 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-02-13 23:54:12 -0500 |
| commit | d6e52581acb9b124df57055c12088bb08e530ffc (patch) | |
| tree | 1b48e132d2dbe45fad74cf244774fedb351ff0cc /src/core/hle/service/audio/audren_u.cpp | |
| parent | f16bb1dfcfa8f62818c1baba0e7ab9b8c65c30cd (diff) | |
audio: Use WriteBuffer instead of BufferDescriptorB.
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
| -rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index c8d8ba748..20306c6cf 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -69,9 +69,7 @@ private: response_data.state_entries[i].state = 5; } - auto& buffer = ctx.BufferDescriptorB()[0]; - - Memory::WriteBlock(buffer.Address(), &response_data, response_data.total_size); + ctx.WriteBuffer(&response_data, response_data.total_size); IPC::ResponseBuilder rb{ctx, 2}; |
