diff options
author | Treeki <treeki@gmail.com> | 2012-03-15 02:54:33 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-03-15 02:54:33 +0100 |
commit | e88fd1dcef52d4375fef655918886fc14bb1f40c (patch) | |
tree | f081b14a420331258665a58ad31be54b13b1c655 /src/poweruphax.S | |
parent | 18a6c3dbe01f484b346923ebc53f674c1e4a5101 (diff) | |
download | kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.tar.gz kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.zip |
optimisations to reduce code size
Diffstat (limited to 'src/poweruphax.S')
-rw-r--r-- | src/poweruphax.S | 40 |
1 files changed, 4 insertions, 36 deletions
diff --git a/src/poweruphax.S b/src/poweruphax.S index e028eb9..f8d1c2a 100644 --- a/src/poweruphax.S +++ b/src/poweruphax.S @@ -305,38 +305,6 @@ gotTexID2: -.global PlumberSetPowerupTextureDebug -.extern OSReport -.extern continuePlumberSetPowerupTextureDebug -PlumberSetPowerupTextureDebug: - stwu sp, -0x30(sp) - mflr r0 - stw r0, 0x34(sp) - stw r3, 0x20(sp) - stw r4, 0x24(sp) - - mr r6, r0 - mr r5, r4 - mr r4, r3 - lis r3, PowerupTexDebugStr@h - ori r3, r3, PowerupTexDebugStr@l - crclr 4*cr1+eq - bl OSReport - - lwz r3, 0x20(sp) - lwz r4, 0x24(sp) - lwz r0, 0x34(sp) - mtlr r0 - addi sp, sp, 0x30 - - stwu sp, -0x30(sp) - - b continuePlumberSetPowerupTextureDebug - - - - - .global PlumberSetPowerupTextureFix PlumberSetPowerupTextureFix: stb r4, 0x153(r3) @@ -731,11 +699,11 @@ I_hammerModelName: .string "I_fireflower" -PowerupTexDebugStr: - .string "Plumber::SetPowerupTexture() called on class %p with texnum %d lr=%p\n" +#PowerupTexDebugStr: +# .string "Plumber::SetPowerupTexture() called on class %p with texnum %d lr=%p\n" -DBString: - .string "PW:%d\n" +#DBString: +# .string "PW:%d\n" #.global BrosModelFilename #BrosModelFilename: |