mirror of
https://github.com/ThiagoFraga761/infamous2-pc.git
synced 2026-11-07 11:35:59 -10:00
work/tools/ppu_native_entries.py, run by scripts/lift.sh after the lift, puts a hook at the entry of listed functions, or a native block at a label inside one, guarded against relift drift; work/port/ppu_native.cpp holds the stand-ins, PS3RECOMP_NATIVE_PPU=0/1/2 (2 runs both and compares). First two: the main thread's byte scan (a memchr, 5x) and the game's memcpy (refused on overlap, where it is not a memmove). In-game compare: 1.69M copies with no difference. The main thread's work drops ~3.8 points, all of it now spent waiting on the SPU job lists: frame rate unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>