diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-14 08:30:59 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-14 08:36:21 +0100 |
commit | 3619b31fc0b687cbdec7ecb5004697332372c293 (patch) | |
tree | 7657d3c2dfe584789d95d04a4756d8ad57c39d0a /src/core | |
parent | Merge pull request #1662 from FreddyFunk/CopySurface-Optimization (diff) | |
download | yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.tar yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.tar.gz yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.tar.bz2 yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.tar.lz yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.tar.xz yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.tar.zst yuzu-3619b31fc0b687cbdec7ecb5004697332372c293.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index 35a8bef6c..d3ea57ea7 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -28,13 +28,13 @@ public: {1, &IAudioRenderer::GetSampleCount, "GetSampleCount"}, {2, &IAudioRenderer::GetMixBufferCount, "GetMixBufferCount"}, {3, &IAudioRenderer::GetState, "GetState"}, - {4, &IAudioRenderer::RequestUpdate, "RequestUpdate"}, + {4, &IAudioRenderer::RequestUpdateImpl, "RequestUpdate"}, {5, &IAudioRenderer::Start, "Start"}, {6, &IAudioRenderer::Stop, "Stop"}, {7, &IAudioRenderer::QuerySystemEvent, "QuerySystemEvent"}, {8, &IAudioRenderer::SetRenderingTimeLimit, "SetRenderingTimeLimit"}, {9, &IAudioRenderer::GetRenderingTimeLimit, "GetRenderingTimeLimit"}, - {10, nullptr, "RequestUpdateAuto"}, + {10, &IAudioRenderer::RequestUpdateImpl, "RequestUpdateAuto"}, {11, nullptr, "ExecuteAudioRendererRendering"}, }; // clang-format on @@ -79,7 +79,7 @@ private: LOG_DEBUG(Service_Audio, "called"); } - void RequestUpdate(Kernel::HLERequestContext& ctx) { + void RequestUpdateImpl(Kernel::HLERequestContext& ctx) { ctx.WriteBuffer(renderer->UpdateAudioRenderer(ctx.ReadBuffer())); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |