From f5b23eff4b9593f3212b16b964ec481565cf7fe9 Mon Sep 17 00:00:00 2001 From: Hamish Milne Date: Fri, 17 Apr 2020 14:11:58 +0100 Subject: [PATCH] Correctly register AddressArbiter as a type of WakeupCallback --- src/core/hle/kernel/address_arbiter.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/hle/kernel/address_arbiter.h b/src/core/hle/kernel/address_arbiter.h index 059ff14003..c7a263d9ef 100644 --- a/src/core/hle/kernel/address_arbiter.h +++ b/src/core/hle/kernel/address_arbiter.h @@ -11,6 +11,7 @@ #include #include #include +#include #include "common/common_types.h" #include "core/hle/kernel/object.h" #include "core/hle/kernel/thread.h" @@ -81,6 +82,9 @@ private: template void serialize(Archive& ar, const unsigned int file_version) { ar& boost::serialization::base_object(*this); + if (file_version > 0) { + ar& boost::serialization::base_object(*this); + } ar& name; ar& waiting_threads; } @@ -89,4 +93,5 @@ private: } // namespace Kernel BOOST_CLASS_EXPORT_KEY(Kernel::AddressArbiter) +BOOST_CLASS_VERSION(Kernel::AddressArbiter, 1) CONSTRUCT_KERNEL_OBJECT(Kernel::AddressArbiter)