More merge fixes
This commit is contained in:
parent
da3ab3d56e
commit
5604613642
9 changed files with 69 additions and 9 deletions
|
@ -530,6 +530,9 @@ void System::Reset() {
|
|||
template <class Archive>
|
||||
void System::serialize(Archive& ar, const unsigned int file_version) {
|
||||
u32 num_cores;
|
||||
if (Archive::is_saving::value) {
|
||||
num_cores = this->GetNumCores();
|
||||
}
|
||||
ar& num_cores;
|
||||
if (num_cores != this->GetNumCores()) {
|
||||
throw std::runtime_error("Wrong N3DS mode");
|
||||
|
@ -547,6 +550,9 @@ void System::serialize(Archive& ar, const unsigned int file_version) {
|
|||
if (Archive::is_loading::value) {
|
||||
dsp_core.reset();
|
||||
}
|
||||
if (dsp_core) {
|
||||
throw "BLEH";
|
||||
}
|
||||
ar& dsp_core;
|
||||
ar&* memory.get();
|
||||
ar&* kernel.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue