summaryrefslogtreecommitdiff
path: root/src/n64dd
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2025-04-26 18:17:02 -0400
committerGitHub <noreply@github.com>2025-04-26 18:17:02 -0400
commitbed76a3bf3cd89456e3331b2c2b50dbc5f79fe48 (patch)
tree49f4c9741975a6c68d8cb6dbb7902e6a6d3d428d /src/n64dd
parent25b2fa4bca1f1d2d155db2610191af1075e813b3 (diff)
add array_count.h (#2514)
Diffstat (limited to 'src/n64dd')
-rw-r--r--src/n64dd/n64dd_801C8000.c3
-rw-r--r--src/n64dd/n64dd_801CA0B0.c2
-rw-r--r--src/n64dd/z_n64dd.c5
3 files changed, 9 insertions, 1 deletions
diff --git a/src/n64dd/n64dd_801C8000.c b/src/n64dd/n64dd_801C8000.c
index 8c6c91a9c..2212fe43f 100644
--- a/src/n64dd/n64dd_801C8000.c
+++ b/src/n64dd/n64dd_801C8000.c
@@ -1,5 +1,8 @@
// Does some command processing
+
#include "n64dd.h"
+
+#include "array_count.h"
#include "versions.h"
#include "z_locale.h"
diff --git a/src/n64dd/n64dd_801CA0B0.c b/src/n64dd/n64dd_801CA0B0.c
index d564d46ca..a98634622 100644
--- a/src/n64dd/n64dd_801CA0B0.c
+++ b/src/n64dd/n64dd_801CA0B0.c
@@ -1,6 +1,8 @@
#include "n64dd.h"
+
#include "libc64/aprintf.h"
#include "attributes.h"
+#include "array_count.h"
#include "global.h"
diff --git a/src/n64dd/z_n64dd.c b/src/n64dd/z_n64dd.c
index f05e1b135..a8ce0674c 100644
--- a/src/n64dd/z_n64dd.c
+++ b/src/n64dd/z_n64dd.c
@@ -1,11 +1,14 @@
// Main interface for the 64DD from the rest of the game. Starts background
// threads and provides functions to submit commands to them.
+
+#include "n64dd.h"
+
#include "libc64/sleep.h"
+#include "array_count.h"
#include "fault.h"
#include "gfx.h"
#include "irqmgr.h"
#include "line_numbers.h"
-#include "n64dd.h"
#include "stack.h"
#include "stackcheck.h"
#include "sys_freeze.h"