diff options
| author | bunnei <bunneidev@gmail.com> | 2022-07-16 11:30:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-16 11:30:56 -0700 |
| commit | 87bb44830bb19f686d345d3640034c11037a691e (patch) | |
| tree | 295f050687de9a9a4134a5087942d8d860ad0e35 /src/core/hle/service/ptm/ptm.cpp | |
| parent | 93a4ca11fa976a71cfd4912900b5f98993c930d4 (diff) | |
| parent | b38509b030e8ed0d3c4f11b8c720607b0bf45edc (diff) | |
Merge pull request #8511 from german77/hbmenu
service: ptm: Add TS, nifm: Stub GetInternetConnectionStatus
Diffstat (limited to 'src/core/hle/service/ptm/ptm.cpp')
| -rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp new file mode 100644 index 000000000..4bea995c6 --- /dev/null +++ b/src/core/hle/service/ptm/ptm.cpp @@ -0,0 +1,18 @@ +// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#include <memory> + +#include "core/core.h" +#include "core/hle/service/ptm/psm.h" +#include "core/hle/service/ptm/ptm.h" +#include "core/hle/service/ptm/ts.h" + +namespace Service::PTM { + +void InstallInterfaces(SM::ServiceManager& sm, Core::System& system) { + std::make_shared<PSM>(system)->InstallAsService(sm); + std::make_shared<TS>(system)->InstallAsService(sm); +} + +} // namespace Service::PTM |
