mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	video_core: Sort predicate order to have semantically positive value first
This commit is contained in:
		
							parent
							
								
									e5495e541d
								
							
						
					
					
						commit
						fc6e33d812
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -71,9 +71,9 @@ void RequestScreenshot(void* data, std::function<void()> callback, | ||||||
| 
 | 
 | ||||||
| u16 GetResolutionScaleFactor() { | u16 GetResolutionScaleFactor() { | ||||||
|     if (g_hw_renderer_enabled) { |     if (g_hw_renderer_enabled) { | ||||||
|         return !Settings::values.resolution_factor |         return Settings::values.resolution_factor | ||||||
|                    ? g_renderer->GetRenderWindow().GetFramebufferLayout().GetScalingRatio() |                    ? Settings::values.resolution_factor | ||||||
|                    : Settings::values.resolution_factor; |                    : g_renderer->GetRenderWindow().GetFramebufferLayout().GetScalingRatio(); | ||||||
|     } else { |     } else { | ||||||
|         // Software renderer always render at native resolution
 |         // Software renderer always render at native resolution
 | ||||||
|         return 1; |         return 1; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue