mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	common/assert: Make the UNIMPLEMENTED macro properly assert
Currently, this was only performing a logging call, which doesn't actually invoke any assertion behavior. This is unlike UNIMPLEMENTED_MSG, which *does* assert. This makes the expected behavior uniform across both macros.
This commit is contained in:
		
							parent
							
								
									b6d2c64f4d
								
							
						
					
					
						commit
						aaec85df9e
					
				@ -52,5 +52,5 @@ __declspec(noinline, noreturn)
 | 
				
			|||||||
#define DEBUG_ASSERT_MSG(_a_, _desc_, ...)
 | 
					#define DEBUG_ASSERT_MSG(_a_, _desc_, ...)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define UNIMPLEMENTED() LOG_CRITICAL(Debug, "Unimplemented code!")
 | 
					#define UNIMPLEMENTED() ASSERT_MSG(false, "Unimplemented code!")
 | 
				
			||||||
#define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__)
 | 
					#define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user