diff options
author | Subv <subv2112@gmail.com> | 2015-02-26 21:13:08 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-03-03 21:48:08 -0500 |
commit | 83a8975cb89b908b4737d647a210c19775f25ed7 (patch) | |
tree | 53fd0e37dcab9c3a5328338273315b159381d949 /src/core/hle/service/ptm/ptm_play.cpp | |
parent | 44f46254dc57c4251ed72ee361cb8479a8e546cd (diff) |
Services: Moved the PTM and APT services to their own folder
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.
Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
Diffstat (limited to 'src/core/hle/service/ptm/ptm_play.cpp')
-rw-r--r-- | src/core/hle/service/ptm/ptm_play.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm/ptm_play.cpp b/src/core/hle/service/ptm/ptm_play.cpp new file mode 100644 index 00000000..8e8ae855 --- /dev/null +++ b/src/core/hle/service/ptm/ptm_play.cpp @@ -0,0 +1,23 @@ +// Copyright 2015 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/hle.h" +#include "core/hle/service/ptm/ptm_play.h" + +namespace Service { +namespace PTM { + +const Interface::FunctionInfo FunctionTable[] = { + { 0x08070082, nullptr, "GetPlayHistory" }, + { 0x08080000, nullptr, "GetPlayHistoryStart" }, + { 0x08090000, nullptr, "GetPlayHistoryLength" }, + { 0x080B0080, nullptr, "CalcPlayHistoryStart" }, +}; + +PTM_Play_Interface::PTM_Play_Interface() { + Register(FunctionTable); +} + +} // namespace PTM +} // namespace Service
\ No newline at end of file |