mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	citra_qt: Write to config file on important config changes (#6311)
Qt isn't always writing changes on save. This causes config to be lost on crash. This PR ensures all changes are always saved on the file. Ported from yuzu. Co-authored-by: Narr the Reg <5944268+german77@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									286f750c6c
								
							
						
					
					
						commit
						cc5ea21f1c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -821,6 +821,7 @@ void Config::SaveValues() { | ||||||
|     SaveLayoutValues(); |     SaveLayoutValues(); | ||||||
|     SaveAudioValues(); |     SaveAudioValues(); | ||||||
|     SaveSystemValues(); |     SaveSystemValues(); | ||||||
|  |     qt_config->sync(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Config::SaveAudioValues() { | void Config::SaveAudioValues() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue