mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 13:20:03 +00:00 
			
		
		
		
	pica: Handle default lighting case
This commit is contained in:
		
							parent
							
								
									60f2587eac
								
							
						
					
					
						commit
						39d4994c15
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -747,8 +747,13 @@ struct Regs { | |||
|         case LightingSampler::ReflectGreen: | ||||
|         case LightingSampler::ReflectBlue: | ||||
|             return (config == LightingConfig::Config4) || (config == LightingConfig::Config5) || (config == LightingConfig::Config7); | ||||
|         default: | ||||
|             UNREACHABLE_MSG("Regs::IsLightingSamplerSupported: Reached " | ||||
|                             "unreachable section, sampler should be one " | ||||
|                             "of Distribution0, Distribution1, Fresnel, " | ||||
|                             "ReflectRed, ReflectGreen or ReflectBlue, instead " | ||||
|                             "got %i", static_cast<int>(config)); | ||||
|         } | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
|     struct { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue