diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-15 18:05:36 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-16 19:15:06 +0100 |
commit | 9c0724b27073e5f6cdf7ec9d10852cc5a073d863 (patch) | |
tree | ed79eb5d39128ec70409cf71300f704d5f740be5 /src/core/hle/service/btm/btm_debug.cpp | |
parent | Merge pull request #13016 from german77/set-interface2 (diff) | |
download | yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.tar yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.tar.gz yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.tar.bz2 yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.tar.lz yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.tar.xz yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.tar.zst yuzu-9c0724b27073e5f6cdf7ec9d10852cc5a073d863.zip |
Diffstat (limited to 'src/core/hle/service/btm/btm_debug.cpp')
-rw-r--r-- | src/core/hle/service/btm/btm_debug.cpp | 33 |
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..67d206560 --- /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 |