mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	
							parent
							
								
									c9b2bd9077
								
							
						
					
					
						commit
						7197367040
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -14,7 +14,7 @@ | |||
| 
 | ||||
| #define ASSERT(_a_)                                                                                \ | ||||
|     do                                                                                             \ | ||||
|         if (!(_a_)) {                                                                              \ | ||||
|         if (!(_a_)) [[unlikely]] {                                                                 \ | ||||
|             []() CITRA_NO_INLINE {                                                                 \ | ||||
|                 LOG_CRITICAL(Debug, "Assertion Failed!");                                          \ | ||||
|                 Crash();                                                                           \ | ||||
|  | @ -25,7 +25,7 @@ | |||
| 
 | ||||
| #define ASSERT_MSG(_a_, ...)                                                                       \ | ||||
|     do                                                                                             \ | ||||
|         if (!(_a_)) {                                                                              \ | ||||
|         if (!(_a_)) [[unlikely]] {                                                                 \ | ||||
|             [&]() CITRA_NO_INLINE {                                                                \ | ||||
|                 LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__);                            \ | ||||
|                 Crash();                                                                           \ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue