mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-09 11:31:34 -10:00
SPR.cpp becomes C. Hw.cpp's MFIFO entry points and vucpu_execute_block get C linkage, THREAD_VU1 is asked through emu_config_thread_vu1(), and VU.h and VUmicro.h lose their // comments, which a C89 lane read into vu1RunCycles. Copies between the scratchpad and memory now stay inside what they address: a run past the end of main RAM reads on from the zero source, one through VU0's 4 KiB windows mirrors instead of running into VU1, the scratchpad's own window wraps, the scratchpad copied onto itself goes front to back, interleave transfers to or from a bus error no longer copy through NULL, and a source-chain tag at a bus error raises BEIS and stops the channel instead of being read through NULL. tests/eespr replays both channels against the transcript the C++ made and checks each of these.