mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	core: hle: kernel: DisableDispatch on suspend threads.
This commit is contained in:
		@@ -1024,6 +1024,9 @@ void KernelCore::Suspend(bool in_suspention) {
 | 
			
		||||
            impl->suspend_threads[core_id]->SetState(state);
 | 
			
		||||
            impl->suspend_threads[core_id]->SetWaitReasonForDebugging(
 | 
			
		||||
                ThreadWaitReasonForDebugging::Suspended);
 | 
			
		||||
            if (!should_suspend) {
 | 
			
		||||
                impl->suspend_threads[core_id]->DisableDispatch();
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user