Files
LibretroAdmin eaa62ed4e8 x86: the FPU recompiler units include Config.h, where FPU_RECOMPILE is
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.
2026-09-26 02:35:31 +02:00
..