summaryrefslogtreecommitdiff
path: root/src/code_800029B0.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2023-08-28 12:14:19 -0600
committerGitHub <noreply@github.com>2023-08-28 12:14:19 -0600
commit05d3636835875446ed84fff8dcae3ccf737ce657 (patch)
treea47b777430952332e93496444a4e58f3182e94d5 /src/code_800029B0.c
parent31d3ac14ec865363a273b804628f40ba5442a256 (diff)
Label memory allocation with proper size (#388)
* Renamed D_8015F734 to FreeMemoryResetAnchor
Diffstat (limited to 'src/code_800029B0.c')
-rw-r--r--src/code_800029B0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_800029B0.c b/src/code_800029B0.c
index 5d9f1dc0d..8578db235 100644
--- a/src/code_800029B0.c
+++ b/src/code_800029B0.c
@@ -38,7 +38,7 @@ extern s8 gCupSelection;
extern s32 gScreenModeSelection;
extern u32 D_8015F730;
-extern s32 D_8015F734;
+extern s32 FreeMemoryResetAnchor;
extern u32 gNextFreeMemoryAddress;
extern s32 D_80150120;
@@ -110,7 +110,7 @@ void setup_race(void) {
if (gCurrentCourseId != gCurrentlyLoadedCourseId) {
D_80150120 = 0;
gCurrentlyLoadedCourseId = gCurrentCourseId;
- gNextFreeMemoryAddress = D_8015F734;
+ gNextFreeMemoryAddress = FreeMemoryResetAnchor;
load_course(gCurrentCourseId);
func_80295D88();
D_8015F730 = gNextFreeMemoryAddress;