mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	DSP: Add a comment about physical address masking
See @wwylele's comment on PR 4483 for more details on what causes this behavior.
This commit is contained in:
		
							parent
							
								
									3aff585f32
								
							
						
					
					
						commit
						008ef1fd71
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -284,6 +284,8 @@ bool Source::DequeueBuffer() { | |||
|         state.adpcm_state.yn2 = buf.adpcm_yn[1]; | ||||
|     } | ||||
| 
 | ||||
|     // This physical address masking occurs due to how the DSP DMA hardware is configured by the
 | ||||
|     // firmware.
 | ||||
|     const u8* const memory = Memory::GetPhysicalPointer(buf.physical_address & 0xFFFFFFFC); | ||||
|     if (memory) { | ||||
|         const unsigned num_channels = buf.mono_or_stereo == MonoOrStereo::Stereo ? 2 : 1; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue