From d5a962cb8101fdc0bb9722a1be1a9b8d2f77e2e9 Mon Sep 17 00:00:00 2001 From: Hamish Milne Date: Mon, 20 Apr 2020 15:21:37 +0100 Subject: [PATCH] Fix savestates compatibility (#5256) * Fix savestates compatibility --- src/video_core/primitive_assembly.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/primitive_assembly.h b/src/video_core/primitive_assembly.h index 1f4f25af22..c98976a7d8 100644 --- a/src/video_core/primitive_assembly.h +++ b/src/video_core/primitive_assembly.h @@ -7,6 +7,7 @@ #include #include #include +#include #include "video_core/regs_pipeline.h" namespace Pica { @@ -69,7 +70,7 @@ private: void serialize(Archive& ar, const unsigned int version) { ar& topology; ar& buffer_index; - ar& buffer; + ar& boost::serialization::make_array(buffer.data(), buffer.size()); ar& strip_ready; ar& winding; }