summaryrefslogtreecommitdiff
path: root/src/randomcrap.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/randomcrap.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S
index 0983763..d3a0388 100644
--- a/src/randomcrap.S
+++ b/src/randomcrap.S
@@ -223,6 +223,19 @@ UniversalFunctionLog:
addi r1, r1, 0x10
blr
+.global EndSCM
+EndSCM:
+ lis r3, SCMs@h
+ ori r3, r3, SCMs@l
+ mr r4, r31
+ crclr 4*cr1+eq
+ bl OSReport
+
+ lwz r31, 0xC(r1)
+ lwz r0, 0x14(r1)
+ mtlr r0
+ addi r1, r1, 0x10
+ blr
#AllocLog:
# stwu r1, -0x20(r1)
@@ -361,3 +374,4 @@ UniLogStr: .string "[ULog] returning %8x to: %x > %x > %x > %x > %x > %x\n"
#Alloced: .string "[AH] Allocated %p\n"
#WillFree: .string "[AH] Freeing %p which is %x bytes\n"
+SCMs: .string "Setting music to %d\n"