1
0
Fork 0

Fix savestates compatibility (#5256)

* Fix savestates compatibility
This commit is contained in:
Hamish Milne 2020-04-20 15:21:37 +01:00 committed by GitHub
parent 3597921ec5
commit d5a962cb81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
#include <array> #include <array>
#include <functional> #include <functional>
#include <boost/serialization/access.hpp> #include <boost/serialization/access.hpp>
#include <boost/serialization/array.hpp>
#include "video_core/regs_pipeline.h" #include "video_core/regs_pipeline.h"
namespace Pica { namespace Pica {
@ -69,7 +70,7 @@ private:
void serialize(Archive& ar, const unsigned int version) { void serialize(Archive& ar, const unsigned int version) {
ar& topology; ar& topology;
ar& buffer_index; ar& buffer_index;
ar& buffer; ar& boost::serialization::make_array(buffer.data(), buffer.size());
ar& strip_ready; ar& strip_ready;
ar& winding; ar& winding;
} }