summaryrefslogtreecommitdiff
path: root/arm9/src/communication_error.c
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-08-18 19:53:17 +0100
committerGitHub <noreply@github.com>2021-08-18 19:53:17 +0100
commitbb16d9a030161b764029628f99eb22a8834b96d5 (patch)
tree03de4ccb9a850663165c6f31741a1399a19810d9 /arm9/src/communication_error.c
parente947eab3f1d5315ba59ec989a02f6b84797e052b (diff)
parentbb8d0b174dfafd4d268a874ef55f2d09f510b82b (diff)
Merge pull request #451 from remicalixte/unk_02009EAC
Decompile and split unk_02009EAC.s
Diffstat (limited to 'arm9/src/communication_error.c')
-rw-r--r--arm9/src/communication_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/src/communication_error.c b/arm9/src/communication_error.c
index 73345af1..4401d9b8 100644
--- a/arm9/src/communication_error.c
+++ b/arm9/src/communication_error.c
@@ -6,8 +6,8 @@
#include "msgdata.h"
#include "msgdata/msg.naix"
#include "text.h"
+#include "brightness.h"
-extern void FUN_0200A274(fx32 brightness, fx32, u32);
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);
@@ -149,7 +149,7 @@ THUMB_FUNC void ShowCommunicationError(u32 heap_id, u32 error, u32 error_code)
GX_BothDispOn();
FUN_0200E394(PM_LCD_TOP);
FUN_0200E394(PM_LCD_BOTTOM);
- FUN_0200A274(0, 0x3F, 3);
+ SetBrightness(0, 0x3F, 3);
RemoveWindow(&window);
DestroyMsgData(error_message_data);