diff options
| author | Julgodis <> | 2021-09-26 01:29:20 +0200 |
|---|---|---|
| committer | Julgodis <> | 2021-09-26 03:38:04 +0200 |
| commit | 8adef1973136e897e8c38cf715f384cc1eed2b1a (patch) | |
| tree | 3401590bf9364fec163eca81d9b60bd0312ced70 /include | |
| parent | f01da4a3aa183f6c142e3a129c09cb8ed6434732 (diff) | |
Removed .s files and cleanup.
Diffstat (limited to 'include')
| -rw-r--r-- | include/JSystem/JUtility/JUTDirectPrint.h | 8 | ||||
| -rw-r--r-- | include/Runtime.PPCEABI.H/__va_arg.h | 4 |
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 |
