pull-request cleanup (main.dol: 15.597194%)

This commit is contained in:
Julgodis 2021-09-26 03:49:41 +02:00
parent 8adef19731
commit fa19d7a32e
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
#include "dolphin/types.h"
// not sure what the members are.
// not sure what the members are.
// OK when the struct is 12 bytes.
typedef struct __va_list_struct {
u8 data[12];

View File

@ -37,7 +37,7 @@ JUTDirectPrint* JUTDirectPrint::sDirectPrint;
JUTDirectPrint::JUTDirectPrint() {
changeFrameBuffer(NULL, 0, 0);
setCharColor(0xff, 0xff, 0xff);
}
}
/* 802E4240-802E4288 2DEB80 0048+00 0/0 1/1 0/0 .text start__14JUTDirectPrintFv */
JUTDirectPrint* JUTDirectPrint::start() {
@ -358,4 +358,3 @@ void JUTDirectPrint::setCharColor(u8 r, u8 g, u8 b) {
mCharColor_Cr2 = (Cr >> 1) & 0x7fff;
mCharColor_Cr4 = (Cr >> 2) & 0x3fff;
}

View File

@ -15,7 +15,8 @@ struct __va_list_struct;
extern "C" void sprintf();
extern "C" void snprintf();
extern "C" size_t vsnprintf(char* buffer, size_t buffer_size, const char* format, __va_list_struct* args);
extern "C" size_t vsnprintf(char* buffer, size_t buffer_size, const char* format,
__va_list_struct* args);
extern "C" void vprintf();
extern "C" void fprintf();
extern "C" void printf();