mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Band-aid solution for 'Disk Shader Cache' (#5188)
* Enable 'Accurate Multiplication' by default. * Move 'Disk Shader Cache' to the 'Advanced' tab * Prevent enabling 'Disk Shader Cache' when 'Enable Hardware Shader' or 'Accurate Multiplication' is disabled. * Do not load 'Disk Shader Cache' when 'Accurate Multiplication' is disabled. * Add a tooltip for 'Disk Shader Cache'.
This commit is contained in:
		
							parent
							
								
									1bb20571b1
								
							
						
					
					
						commit
						2e0ce86c9e
					
				
					 8 changed files with 37 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -106,8 +106,8 @@ ShaderDiskCache::ShaderDiskCache(bool separable) : separable{separable} {}
 | 
			
		|||
 | 
			
		||||
std::optional<std::vector<ShaderDiskCacheRaw>> ShaderDiskCache::LoadTransferable() {
 | 
			
		||||
    const bool has_title_id = GetProgramID() != 0;
 | 
			
		||||
    if (!Settings::values.use_hw_shader || !Settings::values.use_disk_shader_cache ||
 | 
			
		||||
        !has_title_id) {
 | 
			
		||||
    if (!Settings::values.use_hw_shader || !Settings::values.shaders_accurate_mul ||
 | 
			
		||||
        !Settings::values.use_disk_shader_cache || !has_title_id) {
 | 
			
		||||
        return std::nullopt;
 | 
			
		||||
    }
 | 
			
		||||
    tried_to_load = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue