DSP_DSP: use member system instead of global instance

This commit is contained in:
Weiyi Wang 2019-02-03 21:33:20 -05:00
parent 6ce58248b0
commit ea496507d5
4 changed files with 15 additions and 2 deletions

View file

@ -394,7 +394,7 @@ void InstallInterfaces(Core::System& system) {
auto& service_manager = system.ServiceManager();
auto dsp = std::make_shared<DSP_DSP>(system);
dsp->InstallAsService(service_manager);
Core::DSP().SetServiceToInterrupt(std::move(dsp));
system.DSP().SetServiceToInterrupt(std::move(dsp));
}
} // namespace Service::DSP