summaryrefslogtreecommitdiff
path: root/arm9/src/communication_error.c
diff options
context:
space:
mode:
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);