mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	CFG: Load the Config savedata file if it already exists.
This commit is contained in:
		
							parent
							
								
									b49bdb6ba7
								
							
						
					
					
						commit
						95ca6ae1e1
					
				| @ -390,10 +390,11 @@ Interface::Interface() { | ||||
|     FileSys::Path path("config"); | ||||
|     auto file = cfg_system_save_data->OpenFile(path, mode); | ||||
| 
 | ||||
|     // Don't do anything if the file already exists
 | ||||
|     if (file != nullptr) | ||||
|     // Load the config if it already exists
 | ||||
|     if (file != nullptr) { | ||||
|         file->Read(0, CONFIG_SAVEFILE_SIZE, cfg_config_file_buffer.data()); | ||||
|         return; | ||||
| 
 | ||||
|     } | ||||
|     FormatConfig(); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Subv
						Subv