mirror of
https://github.com/Pharaoh2k/ps5debug-NG.git
synced 2026-10-22 03:42:51 -05:00
The increased-by (cmpType 6) and decreased-by (cmpType 8) comparators read the user-supplied double delta as a 4-byte float instead of the full 8-byte double, so round deltas like 1.0 (whose low 32 bits are 0) collapsed to 0.0 and the scan behaved like "unchanged". Read the delta as a full double in: - scan_compare_simd.c _SPC_BY case 9 (Turbo Scan comparator) - scan_compare.c _PER_VALTYPE_BY case 9, which backs both proc_scan_legacy_compareValues and proc_scan_compareValues, so this repairs the legacy and regular/async scan+rescan paths as well. Client wire format is unchanged (already sends an 8-byte double delta).