Skip to content

Commit bed93ce

Browse files
author
Niko
committed
progress
1 parent fe8bf93 commit bed93ce

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

decompile/General/AltMods/Mods4.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,22 @@ void FastAnim_Decompress(struct ModelAnim* ma, u_int* pCmd)
5151
numFrames &= 0x7fff;
5252
numFrames += 1;
5353
numFrames /= 2;
54+
55+
#if 1
56+
// TEMPORARY
57+
58+
// In the OG game renderer, there may not exist
59+
// a function that can handle & 0x8000 AND frames
60+
// that are decompressed, so this data cant be fed
61+
// the the OG game renderer
62+
63+
// These &0x8000 animations will still corrupt,
64+
// even with the 0x8007->4 fix being used.
65+
// On 4P Polar Pass, there's not enough memory
66+
// for all animations to decompress anyway,
67+
// so do not decompress animations with &0x8000.
68+
return;
69+
#endif
5470
}
5571

5672
for(int i = 0; i < numFrames; i++)

0 commit comments

Comments
 (0)