summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJulgodis <>2021-09-26 12:28:18 +0200
committerJulgodis <>2021-09-26 12:28:18 +0200
commitbb9dbd758fca9d14fda1f0921cb50440eec2be25 (patch)
tree8c9d22fe1be2fd6c6215f06803028c5cf8064557 /include
parentbf12ea7a1111fd57bb38c9f2f8076da6894cd146 (diff)
Removed #if DEBUG and clean up.
Diffstat (limited to 'include')
-rw-r--r--include/JSystem/JUtility/JUTDirectPrint.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/JSystem/JUtility/JUTDirectPrint.h b/include/JSystem/JUtility/JUTDirectPrint.h
index 7aa8f2cb12..8f2c2fbb4a 100644
--- a/include/JSystem/JUtility/JUTDirectPrint.h
+++ b/include/JSystem/JUtility/JUTDirectPrint.h
@@ -2,12 +2,9 @@
#define JUTDIRECTPRINT_H
#include "JSystem/JUtility/TColor.h"
+#include "Runtime.PPCEABI.H/__va_arg.h"
#include "dolphin/types.h"
-struct base_process_class {};
-
-struct __va_list_struct;
-
class JUTDirectPrint {
private:
/* 802E41E8 */ JUTDirectPrint();
@@ -16,7 +13,8 @@ public:
/* 802E4288 */ void erase(int, int, int, int);
/* 802E431C */ void drawChar(int, int, int);
/* 802E456C */ void changeFrameBuffer(void*, u16, u16);
- /* 802E45A4 */ void printSub(u16, u16, char const*, __va_list_struct*, bool);
+ /* -------- */ void print(u16, u16, char const*, ...);
+ /* 802E45A4 */ void printSub(u16, u16, char const*, va_list, bool);
/* 802E46D8 */ void drawString(u16, u16, char*);
/* 802E4708 */ void drawString_f(u16, u16, char const*, ...);
/* 802E47C8 */ void setCharColor(u8, u8, u8);
@@ -24,10 +22,6 @@ public:
/* 802E4240 */ static JUTDirectPrint* start();
-#if DEBUG
- /* -------- */ void print(u16, u16, char const*, ...);
-#endif
-
private:
static u8 sAsciiTable[128];
static u32 sFontData[64];