summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Miller <seanmiller999@gmail.com>2026-03-15 17:33:53 +0000
committerSean Miller <seanmiller999@gmail.com>2026-03-15 17:33:53 +0000
commitdd1c8ac8c2ff91e84272fc2187a5213fef481def (patch)
tree7c9e8344958c0afc0746d7634b6ccbe3f43fe08a /src
parentadb84c1cd698cad09b89e97476088ebd624ccf1b (diff)
Minor formatting adjustments + symbol renaming
Diffstat (limited to 'src')
-rw-r--r--src/d/d_main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_main.cpp b/src/d/d_main.cpp
index aac41dd6..feb4ea6a 100644
--- a/src/d/d_main.cpp
+++ b/src/d/d_main.cpp
@@ -6,10 +6,6 @@
#include "rvl/OS.h"
-OSThread MAIN_THREAD;
-
-#define STACK_SIZE 0xF000
-
void dMain::Create() {
dSys_c::create();
dSys_c::setBlack(false);
@@ -27,7 +23,11 @@ void *dMain::main01(void *arg) {
return nullptr;
}
+#define STACK_SIZE 0xF000
+
void main(int argc, char **argv) {
+ static OSThread MAIN_THREAD;
+
u8 pStackBase[STACK_SIZE] __attribute__((aligned(32)));
fn_80006C20();