summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/spritetex.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index fa117eb..d8caf94 100644
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -157,6 +157,7 @@ TEX_Coaster:
.global TEX_Koopa
TEX_Koopa:
lwz r5, 4(r29)
+ srwi r5, r5, 24
andi. r5, r5, 0xF
b GetTexFilenameForR5