summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/btm/btm_debug.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-19 20:49:42 +0100
committerGitHub <noreply@github.com>2024-02-19 20:49:42 +0100
commit8d5473e67c202768673d4d9f3e59df50501f30e4 (patch)
tree2c6ba25f4778db3ff9e60f5c84abcb98a15b751b /src/core/hle/service/btm/btm_debug.cpp
parentandroid: Fix overlay visibility reset (#13083) (diff)
parentservice: btm: Implement function needed by QLaunch (diff)
downloadyuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.tar
yuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.tar.gz
yuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.tar.bz2
yuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.tar.lz
yuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.tar.xz
yuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.tar.zst
yuzu-8d5473e67c202768673d4d9f3e59df50501f30e4.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/btm/btm_debug.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/btm/btm_debug.cpp b/src/core/hle/service/btm/btm_debug.cpp
new file mode 100644
index 000000000..4d61d2641
--- /dev/null
+++ b/src/core/hle/service/btm/btm_debug.cpp
@@ -0,0 +1,33 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include "core/hle/service/btm/btm_debug.h"
+
+namespace Service::BTM {
+
+IBtmDebug::IBtmDebug(Core::System& system_) : ServiceFramework{system_, "btm:dbg"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "AcquireDiscoveryEvent"},
+ {1, nullptr, "StartDiscovery"},
+ {2, nullptr, "CancelDiscovery"},
+ {3, nullptr, "GetDeviceProperty"},
+ {4, nullptr, "CreateBond"},
+ {5, nullptr, "CancelBond"},
+ {6, nullptr, "SetTsiMode"},
+ {7, nullptr, "GeneralTest"},
+ {8, nullptr, "HidConnect"},
+ {9, nullptr, "GeneralGet"},
+ {10, nullptr, "GetGattClientDisconnectionReason"},
+ {11, nullptr, "GetBleConnectionParameter"},
+ {12, nullptr, "GetBleConnectionParameterRequest"},
+ {13, nullptr, "Unknown13"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+IBtmDebug::~IBtmDebug() = default;
+
+} // namespace Service::BTM