summaryrefslogtreecommitdiff
path: root/arm9/src/communication_error.c
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-08-22 12:14:20 +0100
committerGitHub <noreply@github.com>2021-08-22 12:14:20 +0100
commit408cdd5611fbc4947545e747812dbbd86b36f3aa (patch)
tree820614fcaf4094759d90498156cafed87bedb881 /arm9/src/communication_error.c
parent352605c1b5af4ff2fa6e792a47b6f6451c1f4be8 (diff)
parentbdcd439b89deee757fcad4d3ce72cdee97f5a080 (diff)
Merge branch 'master' into nitrobanner
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);