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:
Max Roncace
2025-12-06 16:34:47 -05:00
committed by GitHub
parent 9f1a648851
commit a30e617e5a
316 changed files with 1133 additions and 1267 deletions
-4
View File
@@ -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() {