Fixed TAS movie serialization

This commit is contained in:
Hamish Milne
2020-04-06 21:23:39 +01:00
parent ac37de10fc
commit 7ff985cef9
5 changed files with 39 additions and 37 deletions

View File

@ -88,15 +88,11 @@ u16 GetResolutionScaleFactor() {
}
}
void Save(std::ostream& stream) {
oarchive oa{stream};
oa& Pica::g_state;
}
void Load(std::istream& stream) {
iarchive ia{stream};
ia& Pica::g_state;
// TODO: Flush/reset things
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& Pica::g_state;
}
} // namespace VideoCore
SERIALIZE_IMPL(VideoCore)