printf Asserts, so they end up in the test logs.

This commit is contained in:
Henrik Rydgard committed 2012-11-30 22:32:49 +01:00
1 parent 96fce482bd
commit e4c0d2d5cd
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -101,6 +101,7 @@ void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type,
}
#define _dbg_assert_msg_(_t_, _a_, ...)\
if (!(_a_)) {\
printf(_t_, __VA_ARGS__); \
ERROR_LOG(_t_, __VA_ARGS__); \
if (!PanicYesNo(__VA_ARGS__)) {Crash();} \
}
+1 -1
Submodule native updated: 8b6adf4cd6...294ad623c5.