citra-emu
/
citra-canary
Archived
1
0
Fork 0

Added DLP service serialization

This commit is contained in:
Hamish Milne 2019-12-26 18:02:59 +00:00 committed by zhupengfei
parent a0c3b91785
commit 30fe2bfe38
7 changed files with 37 additions and 1 deletions

2
TODO
View File

@ -74,7 +74,7 @@
☐ CFG
Also needs archive backend..
✔ CSND @started(19-12-26 17:51) @done(19-12-26 17:56) @lasted(5m30s)
☐ DLP
✔ DLP @done(19-12-26 18:02)
☐ DSP
☐ ERR
☐ FRD

View File

@ -4,6 +4,9 @@
#include "core/hle/ipc_helpers.h"
#include "core/hle/service/dlp/dlp_clnt.h"
#include "common/archives.h"
SERIALIZE_EXPORT_IMPL(Service::DLP::DLP_CLNT)
namespace Service::DLP {

View File

@ -12,6 +12,15 @@ class DLP_CLNT final : public ServiceFramework<DLP_CLNT> {
public:
DLP_CLNT();
~DLP_CLNT() = default;
private:
template <class Archive>
void serialize(Archive& ar, const unsigned int)
{
ar & boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
}
friend class boost::serialization::access;
};
} // namespace Service::DLP
BOOST_CLASS_EXPORT_KEY(Service::DLP::DLP_CLNT)

View File

@ -4,6 +4,9 @@
#include "core/hle/ipc_helpers.h"
#include "core/hle/service/dlp/dlp_fkcl.h"
#include "common/archives.h"
SERIALIZE_EXPORT_IMPL(Service::DLP::DLP_FKCL)
namespace Service::DLP {

View File

@ -12,6 +12,15 @@ class DLP_FKCL final : public ServiceFramework<DLP_FKCL> {
public:
DLP_FKCL();
~DLP_FKCL() = default;
private:
template <class Archive>
void serialize(Archive& ar, const unsigned int)
{
ar & boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
}
friend class boost::serialization::access;
};
} // namespace Service::DLP
BOOST_CLASS_EXPORT_KEY(Service::DLP::DLP_FKCL)

View File

@ -7,6 +7,9 @@
#include "core/hle/ipc_helpers.h"
#include "core/hle/result.h"
#include "core/hle/service/dlp/dlp_srvr.h"
#include "common/archives.h"
SERIALIZE_EXPORT_IMPL(Service::DLP::DLP_SRVR)
namespace Service::DLP {

View File

@ -15,6 +15,15 @@ public:
private:
void IsChild(Kernel::HLERequestContext& ctx);
template <class Archive>
void serialize(Archive& ar, const unsigned int)
{
ar & boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
}
friend class boost::serialization::access;
};
} // namespace Service::DLP
BOOST_CLASS_EXPORT_KEY(Service::DLP::DLP_SRVR)