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) {

View file

@ -7,6 +7,7 @@
#include <memory>
#include <mutex>
#include <string>
#include <boost/serialization/version.hpp>
#include "common/common_types.h"
#include "core/custom_tex_cache.h"
#include "core/frontend/applets/mii_selector.h"
@ -401,3 +402,5 @@ inline AudioCore::DspInterface& DSP() {
}
} // namespace Core
BOOST_CLASS_VERSION(Core::System, 1)