summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/btm
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-01-23 06:30:34 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-01-26 00:14:18 +0100
commit53b321c945d7e6782a6011b7ee55035da8f54dbc (patch)
treeab538a4d934f71453bd4b16a929599ae5f525668 /src/core/hle/service/btm
parentMerge pull request #12759 from liamwhite/mp-misc (diff)
downloadyuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.tar
yuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.tar.gz
yuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.tar.bz2
yuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.tar.lz
yuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.tar.xz
yuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.tar.zst
yuzu-53b321c945d7e6782a6011b7ee55035da8f54dbc.zip
Diffstat (limited to 'src/core/hle/service/btm')
-rw-r--r--src/core/hle/service/btm/btm.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/btm/btm.cpp b/src/core/hle/service/btm/btm.cpp
index c65e32489..2dc23e674 100644
--- a/src/core/hle/service/btm/btm.cpp
+++ b/src/core/hle/service/btm/btm.cpp
@@ -283,7 +283,7 @@ public:
{17, &IBtmSystemCore::GetConnectedAudioDevices, "GetConnectedAudioDevices"},
{18, nullptr, "DisconnectAudioDevice"},
{19, nullptr, "AcquirePairedAudioDeviceInfoChangedEvent"},
- {20, nullptr, "GetPairedAudioDevices"},
+ {20, &IBtmSystemCore::GetPairedAudioDevices, "GetPairedAudioDevices"},
{21, nullptr, "RemoveAudioDevicePairing"},
{22, &IBtmSystemCore::RequestAudioDeviceConnectionRejection, "RequestAudioDeviceConnectionRejection"},
{23, &IBtmSystemCore::CancelAudioDeviceConnectionRejection, "CancelAudioDeviceConnectionRejection"}
@@ -327,6 +327,13 @@ private:
rb.Push<u32>(0);
}
+ void GetPairedAudioDevices(HLERequestContext& ctx) {
+ LOG_WARNING(Service_BTM, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u32>(0);
+ }
+
void RequestAudioDeviceConnectionRejection(HLERequestContext& ctx) {
LOG_WARNING(Service_BTM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};