diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2024-07-28 10:04:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-28 13:04:09 -0400 |
| commit | 43cac345667dee5568434c1cd54f432322dde1a1 (patch) | |
| tree | 76f94ace368fab01c0371a137f302ca3f8b1781b /src/code/main.c | |
| parent | d0cf4fbcead28f728828ae92792afba9ce1cd8ad (diff) | |
Misc Cleanup (#1665)
* prefix in-function static data in z_scene_proc with s
prefix in-function static data in z_eff_blure with s
prefix in-function static data in Graph_TaskSet00 with s
prefix in-function static data in Fault_SetOptions with s
* Use uintptr_t in main
* hardware_regs.ld
* Remove some unessary blob comments
* object_link_child_TLUT_00DA80
* object_kz texture and tlut
* initialize typos
Diffstat (limited to 'src/code/main.c')
| -rw-r--r-- | src/code/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/main.c b/src/code/main.c index 7b896c7b8..f45a1dfb2 100644 --- a/src/code/main.c +++ b/src/code/main.c @@ -42,8 +42,8 @@ s32 gScreenHeight = SCREEN_HEIGHT; size_t gSystemHeapSize = 0; void Main(void* arg) { - intptr_t fb; - intptr_t sysHeap; + uintptr_t fb; + uintptr_t sysHeap; s32 exit; s16* msg; @@ -55,7 +55,7 @@ void Main(void* arg) { Check_RegionIsSupported(); Check_ExpansionPak(); - sysHeap = (intptr_t)SEGMENT_START(system_heap); + sysHeap = (uintptr_t)SEGMENT_START(system_heap); fb = FRAMEBUFFERS_START_ADDR; gSystemHeapSize = fb - sysHeap; SystemHeap_Init((void*)sysHeap, gSystemHeapSize); |
