Added ERR service serialization
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <chrono>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include "common/archives.h"
|
||||
#include "common/bit_field.h"
|
||||
#include "common/common_types.h"
|
||||
#include "common/logging/log.h"
|
||||
@@ -16,6 +17,19 @@
|
||||
#include "core/hle/service/err_f.h"
|
||||
#undef exception_info
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::ERR::ERR_F)
|
||||
|
||||
namespace boost::serialization {
|
||||
template <class Archive>
|
||||
void load_construct_data(Archive& ar, Service::ERR::ERR_F* t, const unsigned int)
|
||||
{
|
||||
::new(t)Service::ERR::ERR_F(Core::Global<Core::System>());
|
||||
}
|
||||
|
||||
template
|
||||
void load_construct_data<iarchive>(iarchive& ar, Service::ERR::ERR_F* t, const unsigned int);
|
||||
}
|
||||
|
||||
namespace Service::ERR {
|
||||
|
||||
enum class FatalErrType : u32 {
|
||||
|
||||
Reference in New Issue
Block a user