diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2023-11-22 23:55:05 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-23 13:55:05 +1100 |
| commit | 506e2155474b1914fe93f070c55debdeaf6df0a6 (patch) | |
| tree | 5ffab32ee39bb1cafc8803caafd1030ff72f93ef /src/code/z_lib.c | |
| parent | 5ef277df2db5dd54c02c098ec88777f63680f6c3 (diff) | |
Yet another header cleanup (#1508)
* lights.c
* z64skin_matrix.h
* Move out some stuff from macros.h
* gamealloc.h
* move most transition functions to z64transition.h
* z64lib.h
* `include` cleanup on transition files
* z_overlay cleanup
* z64malloc.h
* format
* forgot to remove those
* forgot this
* fix borken includes
Diffstat (limited to 'src/code/z_lib.c')
| -rw-r--r-- | src/code/z_lib.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/code/z_lib.c b/src/code/z_lib.c index afbcba0ed..12bf959fc 100644 --- a/src/code/z_lib.c +++ b/src/code/z_lib.c @@ -1,4 +1,12 @@ -#include "global.h" +#include "z64lib.h" + +#include "main.h" +#include "ichain.h" +#include "sfx.h" +#include "z64actor.h" +#include "z64game.h" +#include "functions.h" +#include "macros.h" void* Lib_MemCpy(void* dest, void* src, size_t size) { bcopy(src, dest, size); @@ -11,7 +19,7 @@ void* Lib_MemSet(void* buffer, s32 value, size_t size) { s32 i; if (value == 0) { - bzero(buffer, (u32)size); + bzero(buffer, size); return buffer; } |
