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 00e599304a
commit cf492884ea
316 changed files with 1133 additions and 1267 deletions
+3 -3
View File
@@ -156,7 +156,7 @@ int daCoach2D_c::create() {
return cPhs_ERROR_e;
}
#ifdef DEBUG
#if DEBUG
l_HOSTIO.entryHIO("馬車アイコン");
#endif
}
@@ -166,7 +166,7 @@ int daCoach2D_c::create() {
int daCoach2D_c::destroy() {
dComIfG_resDelete(this, l_arcName);
#ifdef DEBUG
#if DEBUG
l_HOSTIO.removeHIO();
#endif
@@ -186,7 +186,7 @@ int daCoach2D_c::draw() {
}
int daCoach2D_c::execute() {
#ifdef DEBUG
#if DEBUG
s32 freeSize = mDoExt_getCurrentHeap()->getTotalFreeSize();
#endif