summaryrefslogtreecommitdiff
path: root/src/code/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/main.c')
-rw-r--r--src/code/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/code/main.c b/src/code/main.c
index f969df70d..7fbb7ccb8 100644
--- a/src/code/main.c
+++ b/src/code/main.c
@@ -1,12 +1,11 @@
#include "audiomgr.h"
+#include "fault.h"
#include "idle.h"
#include "irqmgr.h"
#include "padmgr.h"
#include "scheduler.h"
#include "stack.h"
#include "stackcheck.h"
-#include "system_heap.h"
-#include "z64thread.h"
// Variables are put before most headers as a hacky way to bypass bss reordering
OSMesgQueue sSerialEventQueue;
@@ -32,6 +31,8 @@ PadMgr gPadMgr;
#include "main.h"
#include "buffers.h"
#include "global.h"
+#include "system_heap.h"
+#include "z64thread.h"
s32 gScreenWidth = SCREEN_WIDTH;
s32 gScreenHeight = SCREEN_HEIGHT;
@@ -47,7 +48,7 @@ void Main(void* arg) {
gScreenHeight = SCREEN_HEIGHT;
Nmi_Init();
- Fault_Start();
+ Fault_Init();
Check_RegionIsSupported();
Check_ExpansionPak();