mirror of
https://github.com/zeldaret/tp
synced 2026-09-04 02:19:40 -04:00
kgate / d_meter_button / d_meter_haihai done, obj_ice_l wip (#2018)
* kgate OK, ice_l wip * d_meter_button done * remove asm * d_meter_haihai done * remove asm
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
OSPanic(__FILE__, LINE, "Halt"); \
|
||||
}
|
||||
|
||||
#define JUT_ASSERT_REPORT(LINE, COND) \
|
||||
if ((COND) == 0) { \
|
||||
JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, #COND); \
|
||||
OSPanic(__FILE__, LINE, "Halt"); \
|
||||
OSReport("[%s] %d\n", __FILE__, __LINE__); \
|
||||
}
|
||||
|
||||
#define JUT_PANIC(LINE, TEXT) \
|
||||
JUTAssertion::showAssert(JUTAssertion::getSDevice(), __FILE__, LINE, TEXT); \
|
||||
OSPanic(__FILE__, LINE, "Halt");
|
||||
@@ -23,6 +30,7 @@
|
||||
|
||||
#else
|
||||
#define JUT_ASSERT(...)
|
||||
#define JUT_ASSERT_REPORT(...)
|
||||
#define JUT_PANIC(...)
|
||||
#define JUT_WARN(...)
|
||||
#define JUT_LOG(...)
|
||||
|
||||
Reference in New Issue
Block a user