summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/JSystem/JUtility/JUTDirectPrint.h8
-rw-r--r--include/Runtime.PPCEABI.H/__va_arg.h4
2 files changed, 8 insertions, 4 deletions
diff --git a/include/JSystem/JUtility/JUTDirectPrint.h b/include/JSystem/JUtility/JUTDirectPrint.h
index 7dbb3346a8..7aa8f2cb12 100644
--- a/include/JSystem/JUtility/JUTDirectPrint.h
+++ b/include/JSystem/JUtility/JUTDirectPrint.h
@@ -9,9 +9,10 @@ struct base_process_class {};
struct __va_list_struct;
class JUTDirectPrint {
-public:
+private:
/* 802E41E8 */ JUTDirectPrint();
- /* 802E4240 */ JUTDirectPrint* start();
+
+public:
/* 802E4288 */ void erase(int, int, int, int);
/* 802E431C */ void drawChar(int, int, int);
/* 802E456C */ void changeFrameBuffer(void*, u16, u16);
@@ -21,10 +22,13 @@ public:
/* 802E47C8 */ void setCharColor(u8, u8, u8);
/* 802E4798 */ void setCharColor(JUtility::TColor);
+ /* 802E4240 */ static JUTDirectPrint* start();
+
#if DEBUG
/* -------- */ void print(u16, u16, char const*, ...);
#endif
+private:
static u8 sAsciiTable[128];
static u32 sFontData[64];
static u32 sFontData2[77];
diff --git a/include/Runtime.PPCEABI.H/__va_arg.h b/include/Runtime.PPCEABI.H/__va_arg.h
index aed93a5e33..ef70f02101 100644
--- a/include/Runtime.PPCEABI.H/__va_arg.h
+++ b/include/Runtime.PPCEABI.H/__va_arg.h
@@ -3,7 +3,8 @@
#include "dolphin/types.h"
-// not sure what the members are. OK when the struct is 12 bytes.
+// not sure what the members are.
+// OK when the struct is 12 bytes.
typedef struct __va_list_struct {
u8 data[12];
};
@@ -17,7 +18,6 @@ extern "C" void __va_arg(void*, int);
#define _var_arg_typeof(...)
#endif
-
// from defined-string in mwcceppc.exe:
// __builtin_va_info: initialize the __va_list_struct
// _var_arg_typeof: convert type to integer for __va_arg