#44357 - Ultima2876 - Tue May 31, 2005 11:37 pm
Code: |
collmask_target << shiftamount;
collmask_target_temp = (collmask_target << (64 - shiftamount)) >> (64 - shiftamount); |
This'll be a short one, but it's been bothering me for hours because it's stopping me putting the code in iwram (and it needs it otherwise the thing runs too slow). Is there any trick to acheive the same effect as that second line of code (which chops off some dodgy, unwanted bits) - or at least can someone help me to get it to compile into iwram? I think it's the length of the instructions or something, but I've tried splitting it up into seperate lines, and although I can get the code to compile, I can't get it to do the same thign as the original line.
Thanks in advance.