diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-19 20:49:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 20:49:42 +0100 |
commit | 8d5473e67c202768673d4d9f3e59df50501f30e4 (patch) | |
tree | 2c6ba25f4778db3ff9e60f5c84abcb98a15b751b /src/core/hle/service/btm/btm_user.cpp | |
parent | android: Fix overlay visibility reset (#13083) (diff) | |
parent | service: btm: Implement function needed by QLaunch (diff) | |
download | yuzu-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_user.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/core/hle/service/btm/btm_user.cpp b/src/core/hle/service/btm/btm_user.cpp new file mode 100644 index 000000000..d2e228f8d --- /dev/null +++ b/src/core/hle/service/btm/btm_user.cpp @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#include "common/logging/log.h" +#include "core/hle/service/btm/btm_user.h" +#include "core/hle/service/btm/btm_user_core.h" +#include "core/hle/service/cmif_serialization.h" + +namespace Service::BTM { + +IBtmUser::IBtmUser(Core::System& system_) : ServiceFramework{system_, "btm:u"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, C<&IBtmUser::GetCore>, "GetCore"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IBtmUser::~IBtmUser() = default; + +Result IBtmUser::GetCore(OutInterface<IBtmUserCore> out_interface) { + LOG_WARNING(Service_BTM, "called"); + + *out_interface = std::make_shared<IBtmUserCore>(system); + R_SUCCEED(); +} + +} // namespace Service::BTM |