mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +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
				
			
		|  | @ -120,8 +120,11 @@ void LogSettings() { | |||
|     log_setting("Camera_OuterLeftConfig", values.camera_config[OuterLeftCamera]); | ||||
|     log_setting("Camera_OuterLeftFlip", values.camera_flip[OuterLeftCamera]); | ||||
|     log_setting("DataStorage_UseVirtualSd", values.use_virtual_sd); | ||||
|     log_setting("DataStorage_SdmcDir", FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir)); | ||||
|     log_setting("DataStorage_NandDir", FileUtil::GetUserPath(FileUtil::UserPath::NANDDir)); | ||||
|     log_setting("DataStorage_UseCustomStorage", values.use_custom_storage); | ||||
|     if (values.use_custom_storage) { | ||||
|         log_setting("DataStorage_SdmcDir", FileUtil::GetUserPath(FileUtil::UserPath::SDMCDir)); | ||||
|         log_setting("DataStorage_NandDir", FileUtil::GetUserPath(FileUtil::UserPath::NANDDir)); | ||||
|     } | ||||
|     log_setting("System_IsNew3ds", values.is_new_3ds); | ||||
|     log_setting("System_RegionValue", values.region_value); | ||||
|     log_setting("Debugging_UseGdbstub", values.use_gdbstub); | ||||
|  |  | |||
|  | @ -155,6 +155,7 @@ struct Values { | |||
| 
 | ||||
|     // Data Storage
 | ||||
|     bool use_virtual_sd; | ||||
|     bool use_custom_storage; | ||||
| 
 | ||||
|     // System
 | ||||
|     int region_value; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue