mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-10 03:01:56 -04:00
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code
This commit is contained in:
@@ -1196,11 +1196,9 @@ void dAttention_c::judgementStatus4Hold() {
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (var_r29 != mAttnStatus) {
|
||||
OS_REPORT("%06d: attention: status %d, %d -> %d (%d)\n", g_Counter.mCounter0, mLockonCount, var_r29, mAttnStatus, var_r30);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void dAttention_c::judgementStatus4Switch() {
|
||||
@@ -1320,11 +1318,9 @@ void dAttention_c::judgementStatus4Switch() {
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (var_r29 != mAttnStatus) {
|
||||
OS_REPORT("%06d: attention: status %d, %d -> %d (%d)\n", g_Counter.mCounter0, mLockonCount, var_r29, mAttnStatus, var_r30);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int dAttention_c::Run() {
|
||||
|
||||
Reference in New Issue
Block a user