mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	DSP_DSP: Updated interrupt implementation
This commit is contained in:
		
							parent
							
								
									555907ce8d
								
							
						
					
					
						commit
						ff6db69c60
					
				
					 4 changed files with 113 additions and 46 deletions
				
			
		|  | @ -12,6 +12,8 @@ | |||
| #include "common/common_types.h" | ||||
| #include "common/logging/log.h" | ||||
| 
 | ||||
| #include "core/hle/service/dsp_dsp.h" | ||||
| 
 | ||||
| namespace DSP { | ||||
| namespace HLE { | ||||
| 
 | ||||
|  | @ -97,6 +99,8 @@ static void AudioPipeWriteStructAddresses() { | |||
|     for (u16 addr : struct_addresses) { | ||||
|         WriteU16(DspPipe::Audio, addr); | ||||
|     } | ||||
|     // Signal that we have data on this pipe.
 | ||||
|     DSP_DSP::SignalPipeInterrupt(DspPipe::Audio); | ||||
| } | ||||
| 
 | ||||
| void PipeWrite(DspPipe pipe_number, const std::vector<u8>& buffer) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue