summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authormzxrules <mzxrules@gmail.com>2025-02-16 15:33:55 -0500
committerGitHub <noreply@github.com>2025-02-16 15:33:55 -0500
commit652478c338b0a9aa04f3d8f908a2c44a429e94f3 (patch)
treeb03a04eef32313d89fd56bc06775c27b071201f9 /src/code/z_debug.c
parent137e178790051e2988f93c62bc0ed4811b403ea2 (diff)
Reduce overlay dependencies on global.h (7) (#2472)
* z64env_flags, z64quest_hint_commands * z64cutscene_spline, z64save.h moved from z64.h * bss * pr suggestion * bss * suggestions
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index c4333f787..70d108e16 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -1,4 +1,15 @@
-#include "global.h"
+#include "libc64/malloc.h"
+#include "libu64/gfxprint.h"
+#include "libu64/pad.h"
+#include "color.h"
+#include "controller.h"
+#include "gfx.h"
+#include "gfxalloc.h"
+#include "regs.h"
+#include "rumble.h"
+#include "ultra64.h"
+
+#include "macros.h"
typedef struct DebugCamTextBufferEntry {
/* 0x0 */ u8 x;
@@ -13,7 +24,7 @@ typedef struct InputCombo {
} InputCombo; // size = 0x4
#pragma increment_block_number "gc-eu:160 gc-eu-mq:160 gc-jp:160 gc-jp-ce:160 gc-jp-mq:160 gc-us:160 gc-us-mq:160" \
- "ique-cn:128 ntsc-1.0:160 ntsc-1.1:160 ntsc-1.2:160 pal-1.0:160 pal-1.1:160"
+ "ique-cn:160 ntsc-1.0:160 ntsc-1.1:160 ntsc-1.2:160 pal-1.0:160 pal-1.1:160"
RegEditor* gRegEditor;