mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-16 22:40:04 -04:00
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:
@@ -1,5 +1,7 @@
|
||||
#include "padutils.h"
|
||||
|
||||
#include "PR/os_libc.h"
|
||||
|
||||
void PadUtils_Init(Input* input) {
|
||||
bzero(input, sizeof(Input));
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user