citra/src/core/hle/kernel/session.cpp

25 lines
596 B
C++
Raw Normal View History

// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
2019-08-11 23:29:00 +02:00
#include <boost/serialization/shared_ptr.hpp>
#include "common/archives.h"
#include "core/hle/kernel/session.h"
2019-08-11 23:29:00 +02:00
#include "core/hle/kernel/client_session.h"
#include "core/hle/kernel/server_session.h"
#include "core/hle/kernel/client_port.h"
SERIALIZE_IMPL(Kernel::Session)
namespace Kernel {
2019-08-11 23:29:00 +02:00
template <class Archive>
void Session::serialize(Archive& ar, const unsigned int file_version)
{
ar & client;
ar & server;
ar & port;
}
} // namespace Kernel