summaryrefslogtreecommitdiff
path: root/src/code/main.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2025-01-03 12:05:50 -0800
committerGitHub <noreply@github.com>2025-01-03 13:05:50 -0700
commitf319c8125023f966901131c7ebe479a6f15a750d (patch)
tree4d0fb626927306305408e4b19b35fa786cd91192 /src/code/main.c
parentcb54eb49e47301ca806a754954bee17e23fe6f40 (diff)
Graph OK (#236)
* graph_proc * game_get_next_game_dlftbl * graph_ct * func_800D38E0_jp * func_800D3C94_jp * graph_dt * graph_main * graph_setup_double_buffer * graph_task_set00 WIP * graph_draw_finish * func_800D3E40_jp * func_800D3E14_jp * Some cleanup * Fix m2ctx.py * graph_task_set00
Diffstat (limited to 'src/code/main.c')
-rw-r--r--src/code/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/code/main.c b/src/code/main.c
index 0cd4e26..d602fa9 100644
--- a/src/code/main.c
+++ b/src/code/main.c
@@ -1,11 +1,11 @@
#include "main.h"
-#include "6FB340.h"
-#include "6FD190.h"
+
#include "audioMgr.h"
#include "code_variables.h"
#include "fault.h"
#include "game.h"
#include "getcurrentms.h"
+#include "gfx.h"
#include "graph.h"
#include "irqmgr.h"
#include "libu64/stackcheck.h"
@@ -19,6 +19,8 @@
#include "sys_stacks.h"
#include "system_heap.h"
#include "zurumode.h"
+#include "6FB340.h"
+#include "6FD190.h"
OSThread graphThread;
StackEntry graphStackInfo;
@@ -66,7 +68,8 @@ void func_800D64E0_jp(void) {
unk9C = (game_class_p != NULL) ? game_class_p->unk_9C : 0;
- FaultDrawer_DrawText(24, 16, "GRAPH INF.LOOP %2d %3d %3d %6lu", B_80145370_jp, unk9D, unk9C, graphTime);
+ FaultDrawer_DrawText(24, 16, "GRAPH INF.LOOP %2d %3d %3d %6lu", graph_class.unk_2F0, unk9D, unk9C,
+ graphTime);
fault_DrawStackTrace(&graphThread, 32, 26, 10);
}
if (audioReg != 0) {