mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-12 13:50:03 +00:00
Serialize IR, MVD, NDM, NEWS, NFC
This commit is contained in:
parent
3d6e372f96
commit
2409ee39cb
19 changed files with 112 additions and 5 deletions
|
@ -2,10 +2,13 @@
|
|||
// 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/service/ndm/ndm_u.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::NDM::NDM_U)
|
||||
|
||||
namespace Service::NDM {
|
||||
|
||||
void NDM_U::EnterExclusiveState(Kernel::HLERequestContext& ctx) {
|
||||
|
|
|
@ -270,8 +270,23 @@ private:
|
|||
u32 scan_interval = DEFAULT_SCAN_INTERVAL;
|
||||
u32 retry_interval = DEFAULT_RETRY_INTERVAL;
|
||||
bool daemon_lock_enabled = false;
|
||||
|
||||
template <class Archive>
|
||||
void serialize(Archive& ar, const unsigned int) {
|
||||
ar& boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
|
||||
ar& daemon_bit_mask;
|
||||
ar& default_daemon_bit_mask;
|
||||
ar& daemon_status;
|
||||
ar& exclusive_state;
|
||||
ar& scan_interval;
|
||||
ar& retry_interval;
|
||||
ar& daemon_lock_enabled;
|
||||
}
|
||||
friend class boost::serialization::access;
|
||||
};
|
||||
|
||||
void InstallInterfaces(Core::System& system);
|
||||
|
||||
} // namespace Service::NDM
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Service::NDM::NDM_U)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue