mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	file_util: Add a function to update the user path
Added a default value when sdmc and nand are empty
This commit is contained in:
		
							parent
							
								
									49c0766b73
								
							
						
					
					
						commit
						3be52f818a
					
				
					 4 changed files with 19 additions and 3 deletions
				
			
		|  | @ -306,7 +306,7 @@ void Config::ReadDataStorageValues() { | |||
|     Settings::values.nand_dir = ReadSetting(QStringLiteral("nand_directory"), QString::fromStdString(nan_dir)) | ||||
|                                     .toString() | ||||
|                                     .toStdString(); | ||||
|         std::string sdmc_dir = FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir); | ||||
|     std::string sdmc_dir = FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir); | ||||
|     Settings::values.sdmc_dir = ReadSetting(QStringLiteral("sdmc_directory"), QString::fromStdString(sdmc_dir)) | ||||
|                                     .toString() | ||||
|                                     .toStdString(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue