Serialize some more kernel objects

This commit is contained in:
Hamish Milne
2019-12-22 23:37:17 +00:00
committed by zhupengfei
parent 8c81500dee
commit 4f95575d41
15 changed files with 66 additions and 12 deletions

View File

@ -6,6 +6,7 @@
#include <string>
#include <queue>
#include <boost/serialization/export.hpp>
#include "common/common_types.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/wait_object.h"
@ -15,7 +16,7 @@ namespace Kernel {
class Semaphore final : public WaitObject {
public:
explicit Semaphore(KernelSystem& kernel);
explicit Semaphore();
~Semaphore() override;
std::string GetTypeName() const override {
@ -57,3 +58,5 @@ private:
};
} // namespace Kernel
BOOST_CLASS_EXPORT_KEY(Kernel::Semaphore)