mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Gate use of custom directories behind a variable (#6157)
previous changes had forced every single user to use custom directories for NAND and SDMC. Those paths were saved to the config file and would interact badly with portable builds.
This commit is contained in:
		
							parent
							
								
									67c4b87184
								
							
						
					
					
						commit
						9626bdf385
					
				
					 8 changed files with 183 additions and 144 deletions
				
			
		|  | @ -774,6 +774,9 @@ const std::string& GetDefaultUserPath(UserPath path) { | |||
| } | ||||
| 
 | ||||
| const void UpdateUserPath(UserPath path, const std::string& filename) { | ||||
|     if (filename.empty()) { | ||||
|         return; | ||||
|     } | ||||
|     if (!FileUtil::IsDirectory(filename)) { | ||||
|         LOG_ERROR(Common_Filesystem, "Path is not a directory. UserPath: {}  filename: {}", path, | ||||
|                   filename); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue