Fixed setting the right DSP service on deserialization
This commit is contained in:
parent
2217b3558d
commit
b2370ea353
3 changed files with 15 additions and 3 deletions
|
@ -448,7 +448,10 @@ void System::serialize(Archive& ar, const unsigned int file_version) {
|
|||
ar&* kernel.get();
|
||||
|
||||
// This needs to be set from somewhere - might as well be here!
|
||||
Service::GSP::SetGlobalModule(*this);
|
||||
if (Archive::is_loading::value) {
|
||||
Service::GSP::SetGlobalModule(*this);
|
||||
DSP().SetServiceToInterrupt(ServiceManager().GetService<Service::DSP::DSP_DSP>("dsp::DSP"));
|
||||
}
|
||||
}
|
||||
|
||||
void System::Save(std::ostream& stream) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue