summaryrefslogtreecommitdiff
path: root/arm9/src/error_message_reset.c
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-08-22 12:14:06 +0100
committerGitHub <noreply@github.com>2021-08-22 12:14:06 +0100
commitbdcd439b89deee757fcad4d3ce72cdee97f5a080 (patch)
tree801d501632871b3ce2d89ad82e3781f937d5b5a1 /arm9/src/error_message_reset.c
parent70f49f7dff07152e2b5ffe41383fd7aa77dd8428 (diff)
parent08c88720e7d4a5520262468f70e62b99429c10cb (diff)
Merge pull request #455 from remicalixte/unk_0200CABC
decompile unk_0200CABC.s into render_window.c
Diffstat (limited to 'arm9/src/error_message_reset.c')
-rw-r--r--arm9/src/error_message_reset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arm9/src/error_message_reset.c b/arm9/src/error_message_reset.c
index 97bc7c70..12af3c6f 100644
--- a/arm9/src/error_message_reset.c
+++ b/arm9/src/error_message_reset.c
@@ -7,6 +7,7 @@
#include "PAD_pad.h"
#include "font.h"
#include "brightness.h"
+#include "render_window.h"
const struct WindowTemplate UNK_020FF49C = {
@@ -44,8 +45,6 @@ const struct GraphicsBanks UNK_020FF4D8 = { .bg = 3 };
u32 sErrorMessagePrinterLock;
extern void FUN_0200E3A0(PMLCDTarget, int);
-extern void FUN_0200CB00(struct BgConfig *param0, u32 param1, u32 param2, u32 param3, u8 param4, u32 param5);
-extern void FUN_0200CCA4(struct Window *param0, u32 param1, u32 param2, u32 param3);
extern void FUN_0200E394(u32 param0);
THUMB_FUNC void VBlankHandler()
@@ -114,7 +113,7 @@ THUMB_FUNC void PrintErrorMessageAndReset()
FUN_0201BD5C();
AddWindow(ptr, &buf, &UNK_020FF49C);
FillWindowPixelRect(&buf, 15, 0, 0, 0xd0, 0x90);
- FUN_0200CCA4(&buf, 0, 0x1f7, 2);
+ DrawFrameAndWindow1(&buf, 0, 0x1f7, 2);
ReadMsgDataIntoString(msg_data, 3, str);