This is PS2 emulation, where most engines were still bespoke and every hack in the book was still on the table.