mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Added gpu_refresh_rate config setting for the new interpreter speed hack.
				
					
				
			This commit is contained in:
		
							parent
							
								
									0783498f57
								
							
						
					
					
						commit
						09e19f9f1e
					
				
					 5 changed files with 7 additions and 11 deletions
				
			
		|  | @ -68,12 +68,14 @@ void Config::SaveControls() { | |||
| void Config::ReadCore() { | ||||
|     qt_config->beginGroup("Core"); | ||||
|     Settings::values.cpu_core = qt_config->value("cpu_core", Core::CPU_Interpreter).toInt(); | ||||
|     Settings::values.gpu_refresh_rate = qt_config->value("gpu_refresh_rate", 60).toInt(); | ||||
|     qt_config->endGroup(); | ||||
| } | ||||
| 
 | ||||
| void Config::SaveCore() { | ||||
|     qt_config->beginGroup("Core"); | ||||
|     qt_config->setValue("cpu_core", Settings::values.cpu_core); | ||||
|     qt_config->setValue("gpu_refresh_rate", Settings::values.gpu_refresh_rate); | ||||
|     qt_config->endGroup(); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue