mirror of
https://github.com/zeldaret/oot
synced 2026-06-04 10:48:51 -04:00
Add va_end and returns to variadic functions (#950)
This commit is contained in:
@@ -21,5 +21,8 @@ s32 sprintf(char* dst, const char* fmt, ...) {
|
||||
if (ret > -1) {
|
||||
dst[ret] = 0;
|
||||
}
|
||||
|
||||
va_end(args);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user