Phase2_Ripple_Func2

This commit is contained in:
jiangzhengwenjz 2019-08-28 06:00:34 +08:00 committed by huderlem
parent 9aaf498471
commit 405384de89

View File

@ -1961,9 +1961,10 @@ static bool8 Phase2_Ripple_Func2(struct Task *task)
for (i = 0; i < 160; i++, r4 += r8)
{
// todo: fix the asm
s16 var = r4 >> 8;
asm("");
++var;
--var;
gScanlineEffectRegBuffers[0][i] = sTransitionStructPtr->field_16 + Sin(var, r3);
}