summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/randomcrap.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S
index fff6c98..9532197 100644
--- a/src/randomcrap.S
+++ b/src/randomcrap.S
@@ -538,9 +538,19 @@ BGScaleEnabled: .byte 0
# icbi r0, r3
# blr
+.text
+.align 4
+.global ReplaceExceptionOccurred
+ReplaceExceptionOccurred:
+ lis r3, NewExceptionOccurred@h
+ ori r3, r3, NewExceptionOccurred@l
+ blr
+
#.section .ctors,4
#.long CRAPPYALLOC
.data
+NewExceptionOccurred:
+.string "Whoops! Newer has crashed. Please take a screenshot\nof the info below and send it to butts@butts.com.\nYou can scroll through this report using the D-Pad.\n"
UniLogStr: .string "[ULog] returning %8x to: %x > %x > %x > %x > %x > %x\n"
#WillAlloc: .string "[AH] Will allocate %x bytes aligned by %x\n"
#Alloced: .string "[AH] Allocated %p\n"