mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
make it more clear what's actually being done
This commit is contained in:
@ -193,6 +193,8 @@ private:
|
||||
}
|
||||
else
|
||||
{
|
||||
// unoptimized algorithm is: z0 + ((z1-z0 >> 1) / xdiff * x << 1);
|
||||
// or alternatively there's: z0 + (z1-z0) / (xdiff<<1) * (x<<1);
|
||||
return zcounter += zincr;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user