mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
101fd2e1a9
Add 46 seeds for the libgte helper functions at BFC34E00-BFC36D00. These wrap individual GTE operations (RTPS, RTPT, NCLIP, MVMVA, etc.) and were never discovered because they're called via JALR function pointers, not direct JAL. Coverage: 52→114 gte_execute, 166→429 LWC2/SWC2. Emitted functions: 1178→1214. Seeds: 960→1006. Fix DuckStation oracle VRAM readback by setting UseSoftwareRendererForReadbacks=true in settings.ini. Add debug/analysis tools: GTE audit, VRAM stitching, rapid polling, GPU info, divergence comparison, jump table dumps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
370 B
Python
14 lines
370 B
Python
#!/usr/bin/env python3
|
|
"""Compare two images and report pixel differences."""
|
|
import sys
|
|
from PIL import Image
|
|
|
|
a = Image.open(sys.argv[1])
|
|
b = Image.open(sys.argv[2])
|
|
diff = 0
|
|
for y in range(a.height):
|
|
for x in range(a.width):
|
|
if a.getpixel((x, y)) != b.getpixel((x, y)):
|
|
diff += 1
|
|
print(f'Pixels different: {diff} out of {a.width * a.height}')
|