diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-07-10 00:27:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 00:27:50 +0100 |
commit | f7c8156c5bbcff485a212e39c57802fb98bdcd00 (patch) | |
tree | a4a85627cb6fed0154f5ace47979d75c1ddea6f6 /arm9/src/main.c | |
parent | 8aa6bcd0c030301f5d5b7712c457aa15db88fec1 (diff) | |
parent | b1d8597062896635ac8de02da3804ab738e8bfed (diff) |
Merge pull request #429 from tgsm/communication_error
Decompile unk_02033F50 -> communication_error
Diffstat (limited to 'arm9/src/main.c')
-rw-r--r-- | arm9/src/main.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arm9/src/main.c b/arm9/src/main.c index d1a60190..fb4f8707 100644 --- a/arm9/src/main.c +++ b/arm9/src/main.c @@ -5,6 +5,7 @@ #include "CARD_backup.h" #include "CARD_pullOut.h" #include "CTRDG_common.h" +#include "communication_error.h" #include "PAD_pad.h" #include "main.h" #include "game_init.h" @@ -226,21 +227,19 @@ THUMB_FUNC void DoSoftReset(u32 parameter) } while (1); } -extern void FUN_02033F70(int, int, int); - THUMB_FUNC void FUN_02000F4C(u32 arg0, u32 arg1) { if (arg1 == 3) { - FUN_02033F70(0, 3, 0); + ShowCommunicationError(0, 3, 0); } else if (arg0 == 0) { - FUN_02033F70(0, 2, 0); + ShowCommunicationError(0, 2, 0); } else { - FUN_02033F70(0, 0, 0); + ShowCommunicationError(0, 0, 0); } FUN_02032DAC(); while (1) |