mirror of https://github.com/yuzu-mirror/yuzu
Stubbed ptm:play service
parent
8946df97b5
commit
7516ceaf93
@ -0,0 +1,28 @@
|
||||
// Copyright 2015 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/log.h"
|
||||
#include "core/hle/hle.h"
|
||||
#include "core/hle/service/ptm_play.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace PTM_PLAY
|
||||
|
||||
namespace PTM_PLAY {
|
||||
|
||||
const Interface::FunctionInfo FunctionTable[] = {
|
||||
{ 0x08070082, nullptr, "GetPlayHistory" },
|
||||
{ 0x08080000, nullptr, "GetPlayHistoryStart" },
|
||||
{ 0x08090000, nullptr, "GetPlayHistoryLength" },
|
||||
{ 0x080B0080, nullptr, "CalcPlayHistoryStart" },
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Interface class
|
||||
|
||||
Interface::Interface() {
|
||||
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
||||
}
|
||||
|
||||
} // namespace
|
@ -0,0 +1,23 @@
|
||||
// Copyright 2015 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 PTM_PLAY
|
||||
|
||||
namespace PTM_PLAY {
|
||||
|
||||
class Interface : public Service::Interface {
|
||||
public:
|
||||
Interface();
|
||||
|
||||
std::string GetPortName() const override {
|
||||
return "ptm:play";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
Loading…
Reference in New Issue