mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-28 10:59:16 -04:00
2bdaff3244
The native-wide centre-only fast path read batch x extents with a truncating (int) cast. With geometry_correction those are fractional, and truncation rounds a negative x TOWARD the centre — so a batch just touching the left margin could be misclassified as fully inside the 4:3 frame and have its wide-mirror draw skipped, leaving a one-pixel sliver unmirrored. Take floor for the low edge and ceil for the high edge instead; whole-valued positions (the faithful path, and every prim with the feature off) are unaffected. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>