Organize libc64 files (#1492)

* Move qrand to libc64

* use an union to avoid type punning

* __osMalloc

* math64.c

* fixed_point.h

* sleep

* aprintf.h

* sprintf

* malloc

* use original names on aprintf.c and malloc.c

* qrand cleanup pass

* use original names of sleep.c

* og names for sprintf

* more cleanup

* format

* fixes

* whoops

* use ARRAY_COUNT again

* comment

* Use `fu`

* forgot this one

* review

* fix

* sneak a tiny cleanup
This commit is contained in:
Anghelo Carvajal
2023-11-26 22:01:42 -03:00
committed by GitHub
parent 34492a4386
commit 6dd1600936
58 changed files with 406 additions and 311 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
#include "global.h"
#include "libc64/sleep.h"
void func_80183070(void) {
for (;;) {
Sleep_Msec(1000);
msleep(1000);
}
}