mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	DSP_DSP: use member system instead of global instance
This commit is contained in:
		
							parent
							
								
									6ce58248b0
								
							
						
					
					
						commit
						ea496507d5
					
				
					 4 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue