Skip to content
Snippets Groups Projects
Unverified Commit 001e4e11 authored by Tasos Sahanidis's avatar Tasos Sahanidis
Browse files

Correct C FixedMul() off-by-one errors

The FixedMul() C implementation would produce off by one results,
causing constant desyncs on 64 bit builds and builds without an
ASM implementation of the function.

This is fixed by shifting instead of dividing, possibly avoiding
rounding errors.
parent 8e5ac64d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment