summaryrefslogtreecommitdiff
path: root/src/profiler.h
diff options
context:
space:
mode:
authorTyler McGavran <tyler.taggerung@gmail.com>2023-03-29 20:52:15 -0400
committerGitHub <noreply@github.com>2023-03-29 18:52:15 -0600
commit782ed71f6135152697c6da5a232cef4aa1804d85 (patch)
treed6aeccc50bebbfa7c9319dfb6428a1b025c7e9ae /src/profiler.h
parent8d118db0b25edfbabb059e4b977e339ca9d8f885 (diff)
Massive data relocation (#295)
Mostly relocating rodata from data/* files to the appropriate asm/nonmatching/* files, although there is some plain data relocating to be found in here too. Big change to note is the addition of the code_802AAA70.c file, split from memory.c. Based on some padding in the ro/data for memory it seems clear that a split is needed, although it is not clear that exact spot chosen for the split is correct. Still, it gets the file padding for the ro/data and text segments correct so it can't be too wrong. Also included is an update to the asm_processor tool to support the .hword directive. I made a PR to the main repo of that project with an identical change and it was accepted. Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Diffstat (limited to 'src/profiler.h')
-rw-r--r--src/profiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profiler.h b/src/profiler.h
index a291bd408..567f302be 100644
--- a/src/profiler.h
+++ b/src/profiler.h
@@ -45,4 +45,6 @@ void profiler_log_gfx_time(enum ProfilerGfxEvent eventID);
void profiler_log_vblank_time(void);
void draw_profiler(void);
+extern s32 gEnableResourceMeters;
+
#endif /* PROFILER_H */