mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-02 14:07:54 -05:00
service: ptm: Rewrite PSM and add TS
This commit is contained in:
25
src/core/hle/service/ptm/ts.h
Normal file
25
src/core/hle/service/ptm/ts.h
Normal 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
|
Reference in New Issue
Block a user