mirror of
https://github.com/PabloMK7/citra.git
synced 2025-10-11 12:00:03 +00:00
Serialize NIM, PS, PXI, SOC, SSL services
This commit is contained in:
parent
2409ee39cb
commit
571b1062f0
15 changed files with 66 additions and 8 deletions
|
@ -2,8 +2,11 @@
|
|||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/archives.h"
|
||||
#include "core/hle/service/nim/nim_aoc.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::NIM::NIM_AOC)
|
||||
|
||||
namespace Service::NIM {
|
||||
|
||||
NIM_AOC::NIM_AOC() : ServiceFramework("nim:aoc", 2) {
|
||||
|
|
|
@ -15,3 +15,5 @@ public:
|
|||
};
|
||||
|
||||
} // namespace Service::NIM
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Service::NIM::NIM_AOC)
|
||||
|
|
|
@ -2,8 +2,11 @@
|
|||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/archives.h"
|
||||
#include "core/hle/service/nim/nim_s.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::NIM::NIM_S)
|
||||
|
||||
namespace Service::NIM {
|
||||
|
||||
NIM_S::NIM_S() : ServiceFramework("nim:s", 1) {
|
||||
|
|
|
@ -15,3 +15,5 @@ public:
|
|||
};
|
||||
|
||||
} // namespace Service::NIM
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Service::NIM::NIM_S)
|
||||
|
|
|
@ -2,11 +2,15 @@
|
|||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/archives.h"
|
||||
#include "core/core.h"
|
||||
#include "core/hle/ipc_helpers.h"
|
||||
#include "core/hle/kernel/event.h"
|
||||
#include "core/hle/service/nim/nim_u.h"
|
||||
|
||||
SERVICE_CONSTRUCT_IMPL(Service::NIM::NIM_U)
|
||||
SERIALIZE_EXPORT_IMPL(Service::NIM::NIM_U)
|
||||
|
||||
namespace Service::NIM {
|
||||
|
||||
NIM_U::NIM_U(Core::System& system) : ServiceFramework("nim:u", 2) {
|
||||
|
|
|
@ -41,6 +41,16 @@ private:
|
|||
void CheckSysUpdateAvailable(Kernel::HLERequestContext& ctx);
|
||||
|
||||
std::shared_ptr<Kernel::Event> nim_system_update_event;
|
||||
|
||||
template <class Archive>
|
||||
void serialize(Archive& ar, const unsigned int) {
|
||||
ar& boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
|
||||
ar& nim_system_update_event;
|
||||
}
|
||||
friend class boost::serialization::access;
|
||||
};
|
||||
|
||||
} // namespace Service::NIM
|
||||
|
||||
SERVICE_CONSTRUCT(Service::NIM::NIM_U)
|
||||
BOOST_CLASS_EXPORT_KEY(Service::NIM::NIM_U)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue