mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Frontend: Only load disk resources if hw shader is enabled
This commit is contained in:
		
							parent
							
								
									c0df8271bf
								
							
						
					
					
						commit
						bd29261e0a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -106,7 +106,7 @@ ShaderDiskCache::ShaderDiskCache(bool separable) : separable{separable} {} | |||
| 
 | ||||
| std::optional<std::vector<ShaderDiskCacheRaw>> ShaderDiskCache::LoadTransferable() { | ||||
|     const bool has_title_id = GetProgramID() != 0; | ||||
|     if (!Settings::values.use_disk_shader_cache || !has_title_id) | ||||
|     if (!Settings::values.use_hw_shader || !Settings::values.use_disk_shader_cache || !has_title_id) | ||||
|         return {}; | ||||
|     tried_to_load = true; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue