mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-10-31 18:54:14 +01:00 
			
		
		
		
	android: Fix size check for content uris
Fix for checking file size for android content uris
This commit is contained in:
		
							parent
							
								
									2ed8b3cbb9
								
							
						
					
					
						commit
						9074a70b01
					
				| @ -605,6 +605,12 @@ fs::file_type GetEntryType(const fs::path& path) { | ||||
| } | ||||
| 
 | ||||
| u64 GetSize(const fs::path& path) { | ||||
| #ifdef ANDROID | ||||
|     if (Android::IsContentUri(path)) { | ||||
|         return Android::GetSize(path); | ||||
|     } | ||||
| #endif | ||||
| 
 | ||||
|     std::error_code ec; | ||||
| 
 | ||||
|     const auto file_size = fs::file_size(path, ec); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user