summaryrefslogtreecommitdiff
path: root/arm9/src/communication_error.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/communication_error.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/communication_error.c')
-rw-r--r--arm9/src/communication_error.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arm9/src/communication_error.c b/arm9/src/communication_error.c
index 04058b83..848e3d0a 100644
--- a/arm9/src/communication_error.c
+++ b/arm9/src/communication_error.c
@@ -7,9 +7,8 @@
#include "msgdata/msg.naix"
#include "text.h"
#include "brightness.h"
+#include "render_window.h"
-extern void FUN_0200CB00(struct BgConfig* bg_config, enum GFBgLayer layer, u32 num_tiles, u32, u8, u32 heap_id);
-extern void FUN_0200CCA4(struct Window* window, BOOL copy_to_vram, u16 fill_value, u32 palette_num);
extern void FUN_0200E394(BOOL set_brightness_on_bottom_screen);
extern void FUN_0200E3A0(BOOL set_brightness_on_bottom_screen, s32);
@@ -136,7 +135,7 @@ THUMB_FUNC void ShowCommunicationError(u32 heap_id, u32 error, u32 error_code)
AddWindow(bg_config, &window, &sCommunicationErrorWindowTemplate);
FillWindowPixelRect(&window, 0xF, 0, 0, 208, 144);
- FUN_0200CCA4(&window, FALSE, 0x01F7, 2);
+ DrawFrameAndWindow1(&window, FALSE, 0x01F7, 2);
BufferIntegerAsString(mgr, 0, (s32)error_code, 5, 2, 1);
ReadMsgDataIntoString(error_message_data, error_message_no, tmp_str);