diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2023-11-09 15:08:21 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-10 10:08:21 +1100 |
| commit | e96f18d4e720663f79c6a7dc74c19b3c7f83ea5f (patch) | |
| tree | 82f6a61d1ee91f673c3d77b45e7622fc428505d4 /src | |
| parent | 70637abca9c4c44f7989c76937ab87771ed03804 (diff) | |
Small boot cleanup (#1475)
Diffstat (limited to 'src')
| -rw-r--r-- | src/boot/O2/sprintf.c (renamed from src/libultra/libc/sprintf.c) | 0 | ||||
| -rw-r--r-- | src/boot/boot_main.c | 2 | ||||
| -rw-r--r-- | src/boot/carthandle.c | 3 | ||||
| -rw-r--r-- | src/boot/viconfig.c | 2 | ||||
| -rw-r--r-- | src/boot/z_std_dma.c | 2 |
5 files changed, 7 insertions, 2 deletions
diff --git a/src/libultra/libc/sprintf.c b/src/boot/O2/sprintf.c index 773b982ff..773b982ff 100644 --- a/src/libultra/libc/sprintf.c +++ b/src/boot/O2/sprintf.c diff --git a/src/boot/boot_main.c b/src/boot/boot_main.c index cc2097f0f..0f95871ea 100644 --- a/src/boot/boot_main.c +++ b/src/boot/boot_main.c @@ -1,5 +1,5 @@ #include "prevent_bss_reordering.h" -#include "global.h" +#include "carthandle.h" #include "idle.h" #include "stack.h" #include "stackcheck.h" diff --git a/src/boot/carthandle.c b/src/boot/carthandle.c new file mode 100644 index 000000000..9a4cf542d --- /dev/null +++ b/src/boot/carthandle.c @@ -0,0 +1,3 @@ +#include "carthandle.h" + +OSPiHandle* gCartHandle = NULL; diff --git a/src/boot/viconfig.c b/src/boot/viconfig.c index ccba4e932..1b9f1135c 100644 --- a/src/boot/viconfig.c +++ b/src/boot/viconfig.c @@ -1,4 +1,4 @@ -#include "global.h" +#include "libc/stdbool.h" #include "idle.h" void ViConfig_UpdateVi(u32 black) { diff --git a/src/boot/z_std_dma.c b/src/boot/z_std_dma.c index ac4992264..5b5265629 100644 --- a/src/boot/z_std_dma.c +++ b/src/boot/z_std_dma.c @@ -1,8 +1,10 @@ #include "prevent_bss_reordering.h" #include "global.h" +#include "carthandle.h" #include "fault.h" #include "stack.h" #include "stackcheck.h" +#include "z64dma.h" #include "z64thread.h" size_t gDmaMgrDmaBuffSize = 0x2000; |
