mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	core\file_sys\archive_sdmc.cpp: Log error message if file failed to open. (#6284)
This commit is contained in:
		
							parent
							
								
									68162c29b4
								
							
						
					
					
						commit
						5215468ff6
					
				
					 2 changed files with 8 additions and 5 deletions
				
			
		|  | @ -106,7 +106,7 @@ ResultVal<std::unique_ptr<FileBackend>> SDMCArchive::OpenFileBase(const Path& pa | |||
| 
 | ||||
|     FileUtil::IOFile file(full_path, mode.write_flag ? "r+b" : "rb"); | ||||
|     if (!file.IsOpen()) { | ||||
|         LOG_CRITICAL(Service_FS, "(unreachable) Unknown error opening {}", full_path); | ||||
|         LOG_CRITICAL(Service_FS, "Error opening {}: {}", full_path, GetLastErrorMsg()); | ||||
|         return ERROR_NOT_FOUND; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue