mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	CreateThread invalid processor ID return error instead of assert. (#6354)
This commit is contained in:
		
							parent
							
								
									359a1b3296
								
							
						
					
					
						commit
						3fb48716c5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1245,7 +1245,7 @@ ResultCode SVC::CreateThread(Handle* out_handle, u32 entry_point, u32 arg, VAddr | ||||||
|         // processorid. If this is implemented, make sure to check process->no_thread_restrictions.
 |         // processorid. If this is implemented, make sure to check process->no_thread_restrictions.
 | ||||||
|         break; |         break; | ||||||
|     default: |     default: | ||||||
|         ASSERT_MSG(false, "Unsupported thread processor ID: {}", processor_id); |         return ERR_OUT_OF_RANGE; | ||||||
|         break; |         break; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue