summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-06-20 09:16:14 +0200
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-06-20 09:16:14 +0200
commitdc026c3c75898a9e3a0ea8533af4e02c5156ead6 (patch)
treead606c5dd51de3e4df460887add66cd51566a4d7
parente2e91ccc04f630f7f12171f2fc8668e6c538af2e (diff)
delete obsolete externs
-rw-r--r--arm9/src/text_02054590.c7
-rw-r--r--include/text_02054590.h2
2 files changed, 3 insertions, 6 deletions
diff --git a/arm9/src/text_02054590.c b/arm9/src/text_02054590.c
index 766862f1..f5527257 100644
--- a/arm9/src/text_02054590.c
+++ b/arm9/src/text_02054590.c
@@ -1,6 +1,7 @@
#include "text_02054590.h"
#include "text.h"
#include "bg_window.h"
+#include "render_text.h"
extern void FUN_0201BD5C(void);
extern void FUN_02002ED0(u32 param0, u32 param1, u32 param2);
@@ -10,10 +11,6 @@ extern void FUN_0200CD68(
struct BgConfig *param0, u32 param1, u32 param2, u32 param3, u8 param4, u32 param5);
extern void FUN_0200D0BC(struct Window *param0, u32 param1, u32 param2, u32 param3);
-extern void TextFlags_SetCanABSpeedUpPrint(u8 param0);
-extern void FUN_02002B7C(u32 param0);
-extern void FUN_02002BB8(u32 param0);
-
extern void FUN_0200D300(struct BgConfig *param0,
u32 param1,
u32 param2,
@@ -65,7 +62,7 @@ THUMB_FUNC u16 FUN_02054658(struct Window * window, struct String *str, struct O
return AddTextPrinterParameterized(window, 1, str, 0, 0, (u32)Options_GetTextFrameDelay(options), NULL);
}
-THUMB_FUNC u16 DrawFieldMessage(struct Window * window, struct String *str, u8 fontId, u32 speed, u8 a4, u32 a5)
+THUMB_FUNC u16 DrawFieldMessage(struct Window * window, struct String *str, u8 fontId, u32 speed, u8 a4, s32 a5)
{
TextFlags_SetCanABSpeedUpPrint(a4);
FUN_02002B7C(a5);
diff --git a/include/text_02054590.h b/include/text_02054590.h
index b2f4898b..4d05260a 100644
--- a/include/text_02054590.h
+++ b/include/text_02054590.h
@@ -12,7 +12,7 @@ void FUN_020545B8(struct BgConfig *param0, struct Window *param1, u32 param2);
void FUN_02054608(struct Window *param0, struct Options *options);
void FUN_0205464C(struct Window *param0);
u16 FUN_02054658(struct Window * window, struct String *str, struct Options *options, u8 param3);
-u16 DrawFieldMessage(struct Window * window, struct String *str, u8 fontId, u32 speed, u8 a4, u32 a5);
+u16 DrawFieldMessage(struct Window * window, struct String *str, u8 fontId, u32 speed, u8 a4, s32 a5);
u8 FUN_020546C8(u32 param0);
void FUN_020546E0(struct BgConfig *param0, struct Window *param1, u32 param2, u32 param3);
void FUN_02054744(struct Window *param0, u32 param1, u32 param2);