X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxinterpreter.h;h=2c3f3943bbf0cf3f2748158f0a708abb1ed161a7;hb=HEAD;hp=87c7a324bbb3955f896d6b97f1b5821e17ce5c2a;hpb=4cc373dd225bc4c0db251b3689571e97a1e4ec5a;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxinterpreter.h b/libpcsxcore/psxinterpreter.h index 87c7a324..2c3f3943 100644 --- a/libpcsxcore/psxinterpreter.h +++ b/libpcsxcore/psxinterpreter.h @@ -1,11 +1,17 @@ #ifndef __PSXINTERPRETER_H__ #define __PSXINTERPRETER_H__ +// get an opcode without triggering exceptions or affecting cache +u32 intFakeFetch(u32 pc); + // called by "new_dynarec" -void execI(); +void execI(psxRegisters *regs); void intApplyConfig(); void MTC0(psxRegisters *regs_, int reg, u32 val); void gteNULL(struct psxCP2Regs *regs); -void (*psxCP2[64])(struct psxCP2Regs *regs); +extern void (*psxCP2[64])(struct psxCP2Regs *regs); + +// called by lightrec +void intExecuteBlock(enum blockExecCaller caller); #endif // __PSXINTERPRETER_H__