int gteCheckStallRaw(u32 op_cycles, psxRegisters *regs);
void gteCheckStall(u32 op);
-// for lightrec
-u32 MFC2(int reg);
-void MTC2(u32 value, int reg);
-void CTC2(u32 value, int reg);
-
-void gteMFC2();
-void gteCFC2();
-void gteMTC2();
-void gteCTC2();
-void gteLWC2();
-void gteSWC2();
-void gteLWC2_stall();
-void gteSWC2_stall();
+u32 MFC2(struct psxCP2Regs *regs, int reg);
+void MTC2(struct psxCP2Regs *regs, u32 value, int reg);
+void CTC2(struct psxCP2Regs *regs, u32 value, int reg);
void gteRTPS(struct psxCP2Regs *regs);
void gteOP(struct psxCP2Regs *regs);