6 changed files with 106 additions and 0 deletions
-
4src/core/CMakeLists.txt
-
24src/core/hle/service/cam_u.cpp
-
23src/core/hle/service/cam_u.h
-
28src/core/hle/service/ptm_play.cpp
-
23src/core/hle/service/ptm_play.h
-
4src/core/hle/service/service.cpp
@ -0,0 +1,24 @@ |
|||
// 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/cam_u.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace CAM_U
|
|||
|
|||
namespace CAM_U { |
|||
|
|||
// Empty arrays are illegal -- commented out until an entry is added.
|
|||
//const Interface::FunctionInfo FunctionTable[] = { };
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// 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 CAM_U |
|||
|
|||
namespace CAM_U { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "cam:u"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -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 |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue