summaryrefslogtreecommitdiff
path: root/src/heapbar.S
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-03-15 02:54:33 +0100
committerTreeki <treeki@gmail.com>2012-03-15 02:54:33 +0100
commite88fd1dcef52d4375fef655918886fc14bb1f40c (patch)
treef081b14a420331258665a58ad31be54b13b1c655 /src/heapbar.S
parent18a6c3dbe01f484b346923ebc53f674c1e4a5101 (diff)
downloadkamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.tar.gz
kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.zip
optimisations to reduce code size
Diffstat (limited to 'src/heapbar.S')
-rw-r--r--src/heapbar.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/heapbar.S b/src/heapbar.S
index 83b0c3a..b8b1f6d 100644
--- a/src/heapbar.S
+++ b/src/heapbar.S
@@ -69,6 +69,8 @@ doHeapBar:
lwz r3, 0x10(r3)
lwz r4, 0x18(r3)
lwz r5, 0x1C(r3)
+ lis r6, 0x8000
+ lwz r6, 0x3128(r6)
lis r3, THE_THING@h
ori r3, r3, THE_THING@l
bl OSReport
@@ -127,6 +129,6 @@ asmProcessHeap:
blr
.data
-THE_THING: .string "A thing: %x - %x\n"
+THE_THING: .string "A thing: %x - %x and %x\n"
.align 4