X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fnew_dynarec%2Fnew_dynarec.c;h=1f33c756689f8b28cf4ae690bb72aefc0674ed56;hb=cbbab9cd861a35ecc38546d7291c3cc655b4f5ed;hp=1435017223952cf975153a455e19e4dd4efda531;hpb=619e5ded1a7bfe68dc95782ac9a510f746319683;p=pcsx_rearmed.git diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 14350172..1f33c756 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -9478,6 +9478,16 @@ int new_recompile_block(int addr) { cc=0; } +#ifdef PCSX + else if(/*itype[i]==LOAD||*/itype[i]==STORE||itype[i]==C1LS) // load causes weird timing issues + { + cc+=2; // 2 cycle penalty (after CLOCK_DIVIDER) + } + else if(itype[i]==C2LS) + { + cc+=4; + } +#endif else { cc++;