From 3a11a06438d1f13d5c260e1083e70c144cff0463 Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 17 Aug 2012 22:56:35 +0200 Subject: i am bad at assembly --- src/spritetex.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/spritetex.S b/src/spritetex.S index d5f7ed0..cd7d169 100755 --- a/src/spritetex.S +++ b/src/spritetex.S @@ -1221,10 +1221,10 @@ ChangeWindyColour: andi. r3, r3, 0xF0 stb r0, 0x5BB(r23) beqlr - lis r3, r3, 0xFFFF + lis r3, 0xFFFF ori r3, r3, 0xFF64 stw r3, 0x5B4(r23) - lis r3, r3, 0x87E6 + lis r3, 0x87E6 ori r3, r3, 0xFFFF stw r3, 0x5B8(r23) blr -- cgit v1.2.3