drc,interpreter: add mul/div stalls
[pcsx_rearmed.git] / libpcsxcore / r3000a.h
index 4b1ec9e..94d7d95 100644 (file)
@@ -47,6 +47,7 @@ typedef struct {
 #ifdef ICACHE_EMULATION
        void (*Notify)(int note, void *data);
 #endif
+       void (*ApplyConfig)();
        void (*Shutdown)();
 } R3000Acpu;
 
@@ -193,6 +194,11 @@ typedef struct {
        u32 cycle;
        u32 interrupt;
        struct { u32 sCycle, cycle; } intCycle[32];
+       u32 gteBusyCycle;
+       u32 muldivBusyCycle;
+       // warning: changing anything in psxRegisters requires update of all
+       // asm in libpcsxcore/new_dynarec/, but this member can be replaced
+       u32 reserved[2];
 } psxRegisters;
 
 extern psxRegisters psxRegs;