service: Add ptm::gets and ptm::sets services
parent
1840685ee8
commit
41c03f481a
@ -0,0 +1,19 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/hle/service/ptm/ptm_gets.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PTM {
|
||||
|
||||
const Interface::FunctionInfo FunctionTable[] = {
|
||||
{0x04010000, nullptr, "GetSystemTime"},
|
||||
};
|
||||
|
||||
PTM_Gets::PTM_Gets() {
|
||||
Register(FunctionTable);
|
||||
}
|
||||
|
||||
} // namespace PTM
|
||||
} // namespace Service
|
@ -0,0 +1,22 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PTM {
|
||||
|
||||
class PTM_Gets final : public Interface {
|
||||
public:
|
||||
PTM_Gets();
|
||||
|
||||
std::string GetPortName() const override {
|
||||
return "ptm:gets";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace PTM
|
||||
} // namespace Service
|
@ -0,0 +1,19 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/hle/service/ptm/ptm_sets.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PTM {
|
||||
|
||||
const Interface::FunctionInfo FunctionTable[] = {
|
||||
{0x00010080, nullptr, "SetSystemTime"},
|
||||
};
|
||||
|
||||
PTM_Sets::PTM_Sets() {
|
||||
Register(FunctionTable);
|
||||
}
|
||||
|
||||
} // namespace PTM
|
||||
} // namespace Service
|
@ -0,0 +1,22 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PTM {
|
||||
|
||||
class PTM_Sets final : public Interface {
|
||||
public:
|
||||
PTM_Sets();
|
||||
|
||||
std::string GetPortName() const override {
|
||||
return "ptm:sets";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace PTM
|
||||
} // namespace Service
|
Loading…
Reference in New Issue