Small general cleanup (#1644)

* m2ctx.py

* check warnings

* vimode includes

* bgcheck includes

* padmgr includes

* sprintf

* z_std_dma

* sys_ucode

* z64voice

* z64lib

* z64effect_ss

* segment_symbols.h

* padutils

* main

* stdarg.h

* fault

* bzero

* undefined_syms

* z64rumble
This commit is contained in:
Derek Hensley
2024-06-14 21:47:24 -07:00
committed by GitHub
parent 0b375cadb0
commit 3705eaedac
27 changed files with 58 additions and 43 deletions
+2
View File
@@ -1,5 +1,7 @@
#include "padutils.h"
#include "PR/os_libc.h"
void PadUtils_Init(Input* input) {
bzero(input, sizeof(Input));
}
+2 -1
View File
@@ -1,5 +1,6 @@
#include "libc64/sprintf.h"
#include "stdint.h"
#include "string.h"
void* proutPrintf(void* dst, const char* fmt, size_t size) {
@@ -20,7 +21,7 @@ int sprintf(char* dst, const char* fmt, ...) {
va_list args;
va_start(args, fmt);
ans = _Printf(&proutPrintf, dst, fmt, args);
ans = _Printf(proutPrintf, dst, fmt, args);
if (ans > -1) {
dst[ans] = 0;
}
+1
View File
@@ -18,6 +18,7 @@
* There are some additional provisions to ensure that audio DMA is particularly high-speed, the audio data is assumed
* to be uncompressed and the request queue and address translation is skipped.
*/
#include "prevent_bss_reordering.h"
#include "z64dma.h"
#include "carthandle.h"