mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	perf_stats: Check multicore first
SpeedLimiting is SC only. Since MC is performance oriented we should check for it first to skip checking use_speed_limit.
This commit is contained in:
		@@ -126,8 +126,8 @@ double PerfStats::GetLastFrameTimeScale() const {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void SpeedLimiter::DoSpeedLimiting(microseconds current_system_time_us) {
 | 
			
		||||
    if (!Settings::values.use_speed_limit.GetValue() ||
 | 
			
		||||
        Settings::values.use_multi_core.GetValue()) {
 | 
			
		||||
    if (Settings::values.use_multi_core.GetValue() ||
 | 
			
		||||
        !Settings::values.use_speed_limit.GetValue()) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user