From b5fe1a524fef4f4307e06757597ff3fe0317cac3 Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 29 May 2013 23:25:13 +0200 Subject: FUCKING AND THE FUCK --- src/randomcrap.S | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" -- cgit v1.2.3