Added save + load hotkeys

This commit is contained in:
Hamish Milne 2020-04-06 22:47:52 +01:00
parent 7ff985cef9
commit e74b44042b
4 changed files with 14 additions and 3 deletions

View file

@ -577,7 +577,9 @@ void System::serialize(Archive& ar, const unsigned int file_version) {
ar&* memory.get();
ar&* kernel.get();
VideoCore::serialize(ar, file_version);
ar& Movie::GetInstance();
if (file_version >= 1) {
ar& Movie::GetInstance();
}
// This needs to be set from somewhere - might as well be here!
if (Archive::is_loading::value) {