service: ptm: Rewrite PSM and add TS

This commit is contained in:
german77
2022-06-26 18:48:12 -05:00
committed by Narr the Reg
parent 01bc0c84f0
commit c0264d2121
10 changed files with 189 additions and 90 deletions

View File

@ -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