mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
The rule is LO = numerator <= 0xFFFF ? 0xFFFF : -1, unsigned. The IR backend used CC_LE, so any numerator with the top bit set counted as small and got 0xFFFF. The other backends compare unsigned. Also caught by cpu/cpu_alu/cpu_div. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>