mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-18 09:47:07 +02:00

floatindex is clamped to the range [0, 9]. For non-negative numbers floor() is equivalent to trunc(). Truncation happens implicitly when converting to uint, so the floor() is unnecessary.