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,25 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include "common/common_types.h"
#include "core/hle/service/service.h"
namespace Service::PTM {
class TS final : public ServiceFramework<TS> {
public:
explicit TS(Core::System& system_);
~TS() override;
private:
enum class Location : u8 {
Internal,
External,
};
void GetTemperature(Kernel::HLERequestContext& ctx);
};
} // namespace Service::PTM