mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	memory: fix IsValidVirtualAddress for RasterizerCachedMemory
RasterizerCachedMemory doesn't has pointer but should be considered as valid
This commit is contained in:
		
							parent
							
								
									c88cdc9a2b
								
							
						
					
					
						commit
						3f87d70f0e
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -251,6 +251,9 @@ bool IsValidVirtualAddress(const VAddr vaddr) { | |||
|     if (page_pointer) | ||||
|         return true; | ||||
| 
 | ||||
|     if (current_page_table->attributes[vaddr >> PAGE_BITS] == PageType::RasterizerCachedMemory) | ||||
|         return true; | ||||
| 
 | ||||
|     if (current_page_table->attributes[vaddr >> PAGE_BITS] != PageType::Special) | ||||
|         return false; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue