diff options
author | Treeki <treeki@gmail.com> | 2012-10-01 05:42:48 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-10-01 05:42:48 +0200 |
commit | b8b7c83fc30e8436de4138809d5691187c74887e (patch) | |
tree | 5bc9e0c2beb592e87a5f3304414214d1cbcf4a8e /src | |
parent | 5c846f6c4e8600b84d7c2971e4d467cda2d7d521 (diff) | |
download | kamek-b8b7c83fc30e8436de4138809d5691187c74887e.tar.gz kamek-b8b7c83fc30e8436de4138809d5691187c74887e.zip |
textwriter font is now preserved
Diffstat (limited to 'src')
-rw-r--r-- | src/randomcrap.S | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/randomcrap.S b/src/randomcrap.S index 36bbde7..ea2b301 100644 --- a/src/randomcrap.S +++ b/src/randomcrap.S @@ -1,4 +1,24 @@ .text +.global TextWriterCrap +.extern TextWriterCrapContinue +TextWriterCrap: + lis r6, 0xFFFF + ori r6, r6, 0xFF00 + lwz r0, 8(r5) + or r0, r0, r6 + stw r0, 0x18(r1) + lwz r0, 0xC(r5) + or r0, r0, r6 + stw r0, 0x1C(r1) + lwz r0, 0x10(r5) + or r0, r0, r6 + stw r0, 0x20(r1) + lwz r0, 0x14(r5) + or r0, r0, r6 + stw r0, 0x24(r1) + + b TextWriterCrapContinue + .global HeapChangeAttempt HeapChangeAttempt: lis 4, 0x8037 |