summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-01 09:36:56 +0100
committerLioncash <mathew1800@gmail.com>2019-03-01 09:37:00 +0100
commit42dc73157cab887689aac27574115e634358ee03 (patch)
tree07b8300669f1199320f8ff8a8dc5258627850ed7 /src/core/hle/service
parentMerge pull request #2174 from lioncash/fwd (diff)
downloadyuzu-42dc73157cab887689aac27574115e634358ee03.tar
yuzu-42dc73157cab887689aac27574115e634358ee03.tar.gz
yuzu-42dc73157cab887689aac27574115e634358ee03.tar.bz2
yuzu-42dc73157cab887689aac27574115e634358ee03.tar.lz
yuzu-42dc73157cab887689aac27574115e634358ee03.tar.xz
yuzu-42dc73157cab887689aac27574115e634358ee03.tar.zst
yuzu-42dc73157cab887689aac27574115e634358ee03.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index 49648394c..7154bb917 100644
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@ -37,7 +37,7 @@ public:
{8, &IAudioRenderer::SetRenderingTimeLimit, "SetRenderingTimeLimit"},
{9, &IAudioRenderer::GetRenderingTimeLimit, "GetRenderingTimeLimit"},
{10, &IAudioRenderer::RequestUpdateImpl, "RequestUpdateAuto"},
- {11, nullptr, "ExecuteAudioRendererRendering"},
+ {11, &IAudioRenderer::ExecuteAudioRendererRendering, "ExecuteAudioRendererRendering"},
};
// clang-format on
RegisterHandlers(functions);
@@ -138,6 +138,17 @@ private:
rb.Push(rendering_time_limit_percent);
}
+ void ExecuteAudioRendererRendering(Kernel::HLERequestContext& ctx) {
+ LOG_DEBUG(Service_Audio, "called");
+
+ // This service command currently only reports an unsupported operation
+ // error code, or aborts. Given that, we just always return an error
+ // code in this case.
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultCode{ErrorModule::Audio, 201});
+ }
+
Kernel::EventPair system_event;
std::unique_ptr<AudioCore::AudioRenderer> renderer;
u32 rendering_time_limit_percent = 100;