X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fgte.h;h=8f133f51b23690230d7c6f33b41fbe4c8169dd8f;hb=bb50ea2553de95dffecc24b9f41b423a8fc63142;hp=764622633b52b396492dc8850ee60389230f791c;hpb=6c0eefafd3a531d6bc6d26736926a1514c0c9e6f;p=pcsx_rearmed.git diff --git a/libpcsxcore/gte.h b/libpcsxcore/gte.h index 76462263..8f133f51 100644 --- a/libpcsxcore/gte.h +++ b/libpcsxcore/gte.h @@ -67,12 +67,24 @@ extern "C" { struct psxCP2Regs; +extern const unsigned char gte_cycletab[64]; + +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(); void gteRTPS(struct psxCP2Regs *regs); void gteOP(struct psxCP2Regs *regs);