mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	memory_manager: Check for reserved page status
This commit is contained in:
		
							parent
							
								
									eceab45dac
								
							
						
					
					
						commit
						e01a9de35f
					
				| @ -154,7 +154,8 @@ std::optional<VAddr> MemoryManager::GpuToCpuAddress(GPUVAddr gpu_addr) { | ||||
|     const VAddr base_addr{PageSlot(gpu_addr)}; | ||||
| 
 | ||||
|     if (base_addr == static_cast<u64>(PageStatus::Allocated) || | ||||
|         base_addr == static_cast<u64>(PageStatus::Unmapped)) { | ||||
|         base_addr == static_cast<u64>(PageStatus::Unmapped) || | ||||
|         base_addr == static_cast<u64>(PageStatus::Reserved)) { | ||||
|         return {}; | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ReinUsesLisp
						ReinUsesLisp