summaryrefslogtreecommitdiff
path: root/src/m_Do/m_Do_main.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-01-17 20:04:18 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-01-17 20:04:18 -0500
commit2a02484cdc24aff8a8aa39ae73bd24a060504173 (patch)
treed3b369549693df617890677fc246127eeef43456 /src/m_Do/m_Do_main.cpp
parentb5350e1d1ad48a73899ecab791d86aec92819faf (diff)
JStudio/JMessage work and cleanup
Diffstat (limited to 'src/m_Do/m_Do_main.cpp')
-rw-r--r--src/m_Do/m_Do_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_Do/m_Do_main.cpp b/src/m_Do/m_Do_main.cpp
index ca27c427..b87b0ff1 100644
--- a/src/m_Do/m_Do_main.cpp
+++ b/src/m_Do/m_Do_main.cpp
@@ -440,7 +440,7 @@ void main01() {
OSThread mainThread;
/* 80006464-800065DC .text main */
-void main() {
+int main() {
OSThread* current_thread = OSGetCurrentThread();
u8 ALIGN_DECL(0x20) stack[0xF000];
@@ -483,5 +483,5 @@ void main() {
OSCreateThread(&mainThread, (void*)main01, 0, stack + sizeof(stack), sizeof(stack), priority, 0);
OSResumeThread(&mainThread);
OSSetThreadPriority(current_thread, 0x1F);
- OSSuspendThread(current_thread);
+ return OSSuspendThread(current_thread);
}