summaryrefslogtreecommitdiff
path: root/asm/debug.s
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-06-23 17:35:37 -0500
committerSeth Barberee <seth.barberee@gmail.com>2021-06-23 17:35:37 -0500
commitd1685379681008d41f78fa4a6ae17ace5ee2dbfa (patch)
tree22645f079beea40333e7e822f055c063781ef806 /asm/debug.s
parentf1fdcc2b0ade13ad1a4cc7360eac70f27396d26a (diff)
Finish out game options and FatalError
Some data cleanup as well. Thanks pika for the noreturn tip for FatalError.
Diffstat (limited to 'asm/debug.s')
-rw-r--r--asm/debug.s30
1 files changed, 0 insertions, 30 deletions
diff --git a/asm/debug.s b/asm/debug.s
deleted file mode 100644
index e0f194d..0000000
--- a/asm/debug.s
+++ /dev/null
@@ -1,30 +0,0 @@
- .include "constants/gba_constants.inc"
- .include "asm/macros.inc"
-
- .syntax unified
-
- .text
-
- thumb_func_start FatalError
-FatalError:
- push {r1-r3}
- push {r4,lr}
- sub sp, 0x100
- adds r1, r0, 0
- ldr r4, [sp, 0x108]
- ldr r0, _08011C14
- bl FatalErrorPrintFuncFileLine
- add r2, sp, 0x10C
- mov r0, sp
- adds r1, r4, 0
- bl vsprintf
- ldr r0, _08011C18
- mov r1, sp
- bl FatalErrorFormatMessage
- bl FatalErrorHang
- .align 2, 0
-_08011C14: .4byte gFatalText
-_08011C18: .4byte gUnknown_80D42D4
- thumb_func_end FatalError
-
- .align 2,0