mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
5a63372a51
S1: gp0_exec_shaded_line() now interpolates between C0 and C1 colors along the line instead of using flat C0 color for the entire line. Added sw_draw_shaded_line() to the SW renderer with per-pixel RGB interpolation using Bresenham stepping. S2: Polyline commands (GP0 0x48-0x4F mono, 0x58-0x5F shaded) no longer crash with exit(1). Implemented as GP0_POLYLINE_MONO/SHADED states that accumulate vertices until the terminator word (bit pattern with high bits set), drawing line segments between consecutive pairs. Added STUBS_TO_FIX.md tracking all remaining stubs found in the comprehensive audit (MDEC, SPU, DMA channels, polylines, shaded lines). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>