mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 23:10:33 +02:00
A dump records a texture at a swizzled VRAM mirror as the game sampled it, and the PSP's replayer writes it back with the CPU, which the PSP sends through the depth layout at any access width. PPSSPP's playback wrote it raw, so with depth stored in the GE's layout the texture came back permuted: IL-2's depth texture at 0x04710000 and the two Gensou Suikoden swizzle dumps. Texture copies, memcpys and memsets into a mirror now go through the layout, 32 aligned bytes at a time. Against PSP replays: both Suikoden dumps are now exact (from 1912 and 8083 pixels off), Star Wars #15832 is 67 off (from 2590) and IL-2 894 (from 70505, the rest from a write the next draw reads before it lands). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>