mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	Memory: Remove count of cached pages and add InvalidateRegion
In a future commit, the count of cached pages will be reintroduced in the actual surface cache. Also adds an Invalidate only to the cache which marks a region as invalid in order to try to avoid a costly flush from 3ds memory
This commit is contained in:
		
							parent
							
								
									c821c14908
								
							
						
					
					
						commit
						13606a6d0b
					
				
					 8 changed files with 50 additions and 54 deletions
				
			
		| 
						 | 
				
			
			@ -423,7 +423,7 @@ static void ExecuteCommand(const Command& command, u32 thread_id) {
 | 
			
		|||
                                             command.dma_request.size, Memory::FlushMode::Flush);
 | 
			
		||||
        Memory::RasterizerFlushVirtualRegion(command.dma_request.dest_address,
 | 
			
		||||
                                             command.dma_request.size,
 | 
			
		||||
                                             Memory::FlushMode::FlushAndInvalidate);
 | 
			
		||||
                                             Memory::FlushMode::Invalidate);
 | 
			
		||||
 | 
			
		||||
        // TODO(Subv): These memory accesses should not go through the application's memory mapping.
 | 
			
		||||
        // They should go through the GSP module's memory mapping.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue