mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-10 11:21:36 -10:00
iFPU.cpp and iFPUd.cpp choose between the recompiled COP1 group and calls into the interpreter with #ifdef FPU_RECOMPILE, which Config.h defines. They include it themselves now, above that test. Reading the switch as undefined compiles every EE FPU op to an interpreter call while LWC1 and SWC1 still recompile and keep FPU registers cached on the host; the mixed code miscomputes game math (Jak and Daxter's New Game builds a visibility list past its end, overwrites a type's method table and jumps through it out of RAM). tests/recswitch checks that every unit under pcsx2/ testing a *_RECOMPILE switch includes Config.h above the test, with a negative check on iFPU.cpp without the include.