diff options
author | red031000 <rubenru09@aol.com> | 2020-06-05 18:55:49 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-06-05 18:55:49 +0100 |
commit | ed295dc6089bdf4825233b63e432fb194240b98a (patch) | |
tree | 081eda1af00d591ff2789ec3f5343d01870d6079 /arm9/lib/src | |
parent | 89fa3666e18a80632238471840de1df792409fcb (diff) |
shared headers
Diffstat (limited to 'arm9/lib/src')
-rw-r--r-- | arm9/lib/src/FX.c | 1 | ||||
-rw-r--r-- | arm9/lib/src/FX_atan.c | 1 | ||||
-rw-r--r-- | arm9/lib/src/FX_cp.c | 1 | ||||
-rw-r--r-- | arm9/lib/src/FX_vec.c | 1 | ||||
-rw-r--r-- | arm9/lib/src/GX.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_asm.c | 2 | ||||
-rw-r--r-- | arm9/lib/src/GX_bgcnt.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_g2.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_g3.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_g3_util.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_g3b.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_g3imm.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_g3x.c | 2 | ||||
-rw-r--r-- | arm9/lib/src/GX_load2d.c | 2 | ||||
-rw-r--r-- | arm9/lib/src/GX_load3d.c | 2 | ||||
-rw-r--r-- | arm9/lib/src/GX_state.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/GX_vramcnt.c | 3 | ||||
-rw-r--r-- | arm9/lib/src/OS_terminate_proc.c | 5 |
18 files changed, 13 insertions, 31 deletions
diff --git a/arm9/lib/src/FX.c b/arm9/lib/src/FX.c index 4b9c213f..ea730538 100644 --- a/arm9/lib/src/FX.c +++ b/arm9/lib/src/FX.c @@ -1,5 +1,4 @@ #include "global.h" -#include "main.h" #include "fx.h" ARM_FUNC void FX_Init(){ diff --git a/arm9/lib/src/FX_atan.c b/arm9/lib/src/FX_atan.c index fa2d0dbe..ef2a662d 100644 --- a/arm9/lib/src/FX_atan.c +++ b/arm9/lib/src/FX_atan.c @@ -1,5 +1,4 @@ #include "global.h" -#include "main.h" #include "fx.h" const fx16 FX_AtanTable_[] = { diff --git a/arm9/lib/src/FX_cp.c b/arm9/lib/src/FX_cp.c index 83967ff3..c8069146 100644 --- a/arm9/lib/src/FX_cp.c +++ b/arm9/lib/src/FX_cp.c @@ -1,5 +1,4 @@ #include "global.h" -#include "main.h" #include "fx.h" diff --git a/arm9/lib/src/FX_vec.c b/arm9/lib/src/FX_vec.c index 891b980a..39dd3076 100644 --- a/arm9/lib/src/FX_vec.c +++ b/arm9/lib/src/FX_vec.c @@ -1,5 +1,4 @@ #include "global.h" -#include "main.h" #include "fx.h" ARM_FUNC void VEC_Add(struct Vecx32 *a, struct Vecx32 *b, struct Vecx32 *dst){ diff --git a/arm9/lib/src/GX.c b/arm9/lib/src/GX.c index 6b2f7790..d103bed5 100644 --- a/arm9/lib/src/GX.c +++ b/arm9/lib/src/GX.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" u32 GXi_DmaId = 3; vu16 GXi_VRamLockId = 0; diff --git a/arm9/lib/src/GX_asm.c b/arm9/lib/src/GX_asm.c index f40793d8..1eb0a011 100644 --- a/arm9/lib/src/GX_asm.c +++ b/arm9/lib/src/GX_asm.c @@ -1,6 +1,6 @@ #include "global.h" #include "main.h" -#include "GX.h" +#include "gx.h" //looks like asm and says asm on the tin... ARM_FUNC asm void GX_SendFifo48B(void *src, void *dst){ diff --git a/arm9/lib/src/GX_bgcnt.c b/arm9/lib/src/GX_bgcnt.c index 92f2c4b8..91a67655 100644 --- a/arm9/lib/src/GX_bgcnt.c +++ b/arm9/lib/src/GX_bgcnt.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" ARM_FUNC void *G2_GetBG0ScrPtr(){ u32 temp = (u32)(((reg_G2_BG0CNT & 0x1F00) >> 0x8) << 0xB); diff --git a/arm9/lib/src/GX_g2.c b/arm9/lib/src/GX_g2.c index d17d4263..bde1d1a5 100644 --- a/arm9/lib/src/GX_g2.c +++ b/arm9/lib/src/GX_g2.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" ARM_FUNC void G2x_SetBGyAffine_(u32 *ptr, struct Mtx22 *mtx, fx32 a, fx32 b, fx32 c, fx32 d){ fx32 temp0, temp1, temp2, temp3; diff --git a/arm9/lib/src/GX_g3.c b/arm9/lib/src/GX_g3.c index 2b5f2941..45b6b11b 100644 --- a/arm9/lib/src/GX_g3.c +++ b/arm9/lib/src/GX_g3.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" ARM_FUNC void G3_BeginMakeDL(struct GXDLInfo *displaylist, void *r1, u32 r2){ diff --git a/arm9/lib/src/GX_g3_util.c b/arm9/lib/src/GX_g3_util.c index 6e472471..e647f1c7 100644 --- a/arm9/lib/src/GX_g3_util.c +++ b/arm9/lib/src/GX_g3_util.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" ARM_FUNC void G3i_PerspectiveW_(fx32 fovsin, fx32 fovcos, fx32 ratio, fx32 near, fx32 far, fx32 scale, u32 load, struct Mtx44 *mtx){ diff --git a/arm9/lib/src/GX_g3b.c b/arm9/lib/src/GX_g3b.c index c71ff9d5..a3b96a0b 100644 --- a/arm9/lib/src/GX_g3b.c +++ b/arm9/lib/src/GX_g3b.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" ARM_FUNC void G3BS_LoadMtx44(struct GXDLInfo *displaylist, struct Mtx44 *mtx){ diff --git a/arm9/lib/src/GX_g3imm.c b/arm9/lib/src/GX_g3imm.c index bacd395a..f2129c48 100644 --- a/arm9/lib/src/GX_g3imm.c +++ b/arm9/lib/src/GX_g3imm.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" void MI_Copy36B(void *src, void *dst); diff --git a/arm9/lib/src/GX_g3x.c b/arm9/lib/src/GX_g3x.c index ed84f58b..c8266bee 100644 --- a/arm9/lib/src/GX_g3x.c +++ b/arm9/lib/src/GX_g3x.c @@ -1,6 +1,6 @@ #include "global.h" #include "main.h" -#include "GX.h" +#include "gx.h" extern u32 GXi_DmaId; diff --git a/arm9/lib/src/GX_load2d.c b/arm9/lib/src/GX_load2d.c index 92669bce..132de9ee 100644 --- a/arm9/lib/src/GX_load2d.c +++ b/arm9/lib/src/GX_load2d.c @@ -1,6 +1,6 @@ #include "global.h" #include "main.h" -#include "GX.h" +#include "gx.h" extern u32 GXi_DmaId; diff --git a/arm9/lib/src/GX_load3d.c b/arm9/lib/src/GX_load3d.c index df057a44..ae15f32e 100644 --- a/arm9/lib/src/GX_load3d.c +++ b/arm9/lib/src/GX_load3d.c @@ -1,6 +1,6 @@ #include "global.h" #include "main.h" -#include "GX.h" +#include "gx.h" extern u32 GXi_DmaId; diff --git a/arm9/lib/src/GX_state.c b/arm9/lib/src/GX_state.c index 6b216f39..003e42b5 100644 --- a/arm9/lib/src/GX_state.c +++ b/arm9/lib/src/GX_state.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" struct GX_State gGXState; diff --git a/arm9/lib/src/GX_vramcnt.c b/arm9/lib/src/GX_vramcnt.c index 6dcf34c1..c9d5a1bd 100644 --- a/arm9/lib/src/GX_vramcnt.c +++ b/arm9/lib/src/GX_vramcnt.c @@ -1,6 +1,5 @@ #include "global.h" -#include "main.h" -#include "GX.h" +#include "gx.h" extern u16 GXi_VRamLockId; extern struct GX_State gGXState; diff --git a/arm9/lib/src/OS_terminate_proc.c b/arm9/lib/src/OS_terminate_proc.c index 40b015d9..c86b85ab 100644 --- a/arm9/lib/src/OS_terminate_proc.c +++ b/arm9/lib/src/OS_terminate_proc.c @@ -1,8 +1,3 @@ -// -// Created by red031000 on 2020-05-07. -// - -#include "types.h" #include "OS_terminate_proc.h" #include "function_target.h" #include "OS_system.h" |