summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-15 23:44:36 +0100
committerGitHub <noreply@github.com>2018-11-15 23:44:36 +0100
commit98060c6f7b4bd3a6e359fef4eefde5b31158a8de (patch)
treeaa025f8d25b574a01e7c90ef9031c4b146e031dd /src/core/hle
parentMerge pull request #1637 from FernandoS27/cache (diff)
parentservice/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate (diff)
downloadyuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar
yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.gz
yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.bz2
yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.lz
yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.xz
yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.tar.zst
yuzu-98060c6f7b4bd3a6e359fef4eefde5b31158a8de.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp6
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);